Skip to content

Commit 02ec8f1

Browse files
authored
Fixed Slack workflow with correct PAT (#589)
Signed-off-by: Lam Nguyen <[email protected]>
1 parent 217267b commit 02ec8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
curl -L \
8585
-X POST \
8686
-H "Accept: application/vnd.github+json" \
87-
-H "Authorization: Bearer ${{ secrets.DOCUMENTATION_SLACK_FLOW_PAT }}" \
87+
-H "Authorization: Bearer ${{ secrets.THEME_SLACK_FLOW_PAT }}" \
8888
-H "X-GitHub-Api-Version: 2022-11-28" \
8989
"https://api.github.com/repos/${{ secrets.OWNER }}/${{ secrets.REPO }}/dispatches" \
9090
-d "{\"event_type\": \"trigger-slack-notification\", \"client_payload\": {\"previewURL\": \"${{ env.PREVIEW_URL }}\", \"author\": \"${{ github.event.client_payload.author}}\", \"tag_name\": \"${{ github.event.client_payload.tag_name }}\", \"release_name\": \"${{ github.event.client_payload.release_name }}\"}}"

0 commit comments

Comments
 (0)