Skip to content

Commit f6f568a

Browse files
authored
Merge pull request #123 from RA341/main
update workflow
2 parents b7282af + 2452bfb commit f6f568a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
- name: Trigger CircleCI Pipeline
5656
env:
5757
CIRCLECI_TOKEN: ${{ secrets.CIRCLE_CI_TOKEN }}
58+
CIRCLE_CI_ID: ${{ secrets.CIRCLE_CI_ID }}
5859
if: ${{ steps.get_tag.outputs.tag != '' }}
5960
run: |
6061
VERSION_TAG="${{ steps.get_tag.outputs.tag }}"
@@ -72,10 +73,11 @@ jobs:
7273
echo " Is Latest: $IS_LATEST"
7374
7475
# Trigger CircleCI pipeline
75-
curl -X POST https://circleci.com/api/v2/project/gh/${{ github.repository }}/pipeline \
76+
curl -X POST https://circleci.com/api/v2/project/gh/gouda/pipeline \
7677
-H "Circle-Token: $CIRCLECI_TOKEN" \
7778
-H "Content-Type: application/json" \
7879
-d '{
80+
"definition_id": "${{ CIRCLE_CI_ID }}",
7981
"parameters": {
8082
"version_tag": "'"$VERSION_TAG"'",
8183
"is_latest": '"$IS_LATEST"',

0 commit comments

Comments
 (0)