Skip to content

Commit 217267b

Browse files
authored
Updated Slack workflow with new PAT + small fixes to quotes (#588)
1 parent aca3815 commit 217267b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ jobs:
8484
curl -L \
8585
-X POST \
8686
-H "Accept: application/vnd.github+json" \
87-
-H "Authorization: Bearer ${{ secrets.F5_CLA_TOKEN }}" \
87+
-H "Authorization: Bearer ${{ secrets.DOCUMENTATION_SLACK_FLOW_PAT }}" \
8888
-H "X-GitHub-Api-Version: 2022-11-28" \
8989
"https://api.github.com/repos/${{ secrets.OWNER }}/${{ secrets.REPO }}/dispatches" \
90-
-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 }}"}}"
90+
-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 }}\"}}"
9191
env:
9292
PREVIEW_URL: ${{ needs.call-docs-build-push.outputs.PREVIEW_URL }}
9393

0 commit comments

Comments
 (0)