Skip to content

Commit 854d20b

Browse files
committed
webhook type
1 parent b973a20 commit 854d20b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/staging-push.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,11 @@ jobs:
5454
if: always()
5555
id: slack
5656
uses: slackapi/[email protected]
57-
with:
58-
payload-file-path: "./payload-slack-content.json"
59-
payload-file-path-parsed: false
6057
env:
6158
PULL_REQUEST_JOB_STATUS: ${{ job.status }}
6259
PULL_REQUEST_JOB_STATUS_COLOR: ${{ job.status == 'success' && vars.COLOR_GREEN || job.status == 'failure' && vars.COLOR_RED || vars.COLOR_ORANGE }}
6360
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
64-
65-
61+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
62+
with:
63+
payload-file-path: "./payload-slack-content.json"
64+
payload-file-path-parsed: false

0 commit comments

Comments
 (0)