We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b57b9dd commit 3189da7Copy full SHA for 3189da7
.github/workflows/main.yml
@@ -15,6 +15,7 @@ jobs:
15
run: |
16
curl --request POST \
17
--silent --output /dev/null \
18
- --url https://circleci.com/api/v1.1/project/github/${{ secrets.CORPORATE_REPO }}/tree/main \
+ --url https://circleci.com/api/v2/project/gh/${{ secrets.CORPORATE_REPO }}/pipeline \
19
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \
20
- --data 'build_parameters[CIRCLE_JOB]=${{ secrets.CIRCLECI_JOB }}'
+ --header 'content-type: application/json' \
21
+ --data '{"branch": "main", "parameters":{"CIRCLE_JOB": "${{ secrets.CIRCLECI_JOB }}"}}'
0 commit comments