Skip to content

Commit 9dcfc0e

Browse files
Update cd.yml
1 parent 5c27a05 commit 9dcfc0e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cd.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,10 @@ jobs:
435435
- name: Trigger Publish Workflow
436436
run: |
437437
curl -X POST \
438-
-H "Authorization: token ${{ secrets.ACTIONS_PUBLISH_PAT }}" \
438+
-H "Authorization: token ${{ secrets.ACTIONS_PAT }}" \
439439
-H "Accept: application/vnd.github.v3+json" \
440440
https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yml/dispatches \
441-
-d '{"ref": "main", "inputs": {"sha": "${{ github.sha }}", "tag": "${{ github.ref }}"}}'
442-
441+
-d '{"ref": "${{ github.ref_name }}", "inputs": {"sha": "${{ github.sha }}", "tag": "${{ inputs.tag }}"}}'
443442
444443
# deploy-staging-preprod:
445444
# if: ${{ github.event.inputs.no-deploy != 'true' }}

0 commit comments

Comments
 (0)