We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c27a05 commit 9dcfc0eCopy full SHA for 9dcfc0e
.github/workflows/cd.yml
@@ -435,11 +435,10 @@ jobs:
435
- name: Trigger Publish Workflow
436
run: |
437
curl -X POST \
438
- -H "Authorization: token ${{ secrets.ACTIONS_PUBLISH_PAT }}" \
+ -H "Authorization: token ${{ secrets.ACTIONS_PAT }}" \
439
-H "Accept: application/vnd.github.v3+json" \
440
https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yml/dispatches \
441
- -d '{"ref": "main", "inputs": {"sha": "${{ github.sha }}", "tag": "${{ github.ref }}"}}'
442
-
+ -d '{"ref": "${{ github.ref_name }}", "inputs": {"sha": "${{ github.sha }}", "tag": "${{ inputs.tag }}"}}'
443
444
# deploy-staging-preprod:
445
# if: ${{ github.event.inputs.no-deploy != 'true' }}
0 commit comments