Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
CI: declare the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed May 7, 2023
1 parent 0c2a9f0 commit 14f0ef6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ jobs:
- image: curlimages/curl:7.72.0
steps:
- run: |
curl -sSL \
curl -L \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GITHUB_WORKFLOW_DISPATCH_TOKEN" \
-d '{"event_type": "release"' \
"https://api.github.com/repos/polistro/polistro/actions/workflows/release.yml/dispatches"
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_WORKFLOW_DISPATCH_TOKEN"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/poliastro/poliastro/actions/workflows/release.yml/dispatches \
-d '{"ref":"ci/release"}'
workflows:
version: 2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Release"
on:
repository_dispatch:
types: release
workflow_dispatch:

jobs:

Expand Down

0 comments on commit 14f0ef6

Please sign in to comment.