Skip to content

Commit 6cfd3d7

Browse files
committed
chore: Updated with passing client payload for release metadata
1 parent 0dc6dbc commit 6cfd3d7

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
@@ -89,7 +89,7 @@ jobs:
8989
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
9090
-H "X-GitHub-Api-Version: 2022-11-28" \
9191
"https://api.github.com/repos/${{ env.OWNER }}/${{ env.REPO }}/dispatches" \
92-
-d "{"event_type": "trigger-slack-notification", "client_payload": {"previewURL": "${{ env.PREVIEW_URL }}"}}"
92+
-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.name }}"}}"
9393
env:
9494
PREVIEW_URL: ${{ needs.call-docs-build-push.outputs.PREVIEW_URL }}
9595

0 commit comments

Comments
 (0)