Skip to content

Commit 42a782e

Browse files
committed
Fix
1 parent e5aab49 commit 42a782e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,15 @@ jobs:
6666
env:
6767
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6868
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
69-
JOB_STATUS: ${{ job.status }}
70-
ATTACHMENT_COLOR: "good"
7169
with:
7270
channel-id: bento
73-
slack-message: ":tada: Version ${{ github.ref_name }} has been released!"
71+
payload: '{"text": ":tada: Version ${{ github.ref_name }} has been released!"}'
7472

7573
- uses: slackapi/[email protected]
7674
if: ${{ job.status == 'failure' }}
7775
env:
7876
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
7977
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
80-
JOB_STATUS: ${{ job.status }}
81-
ATTACHMENT_COLOR: "danger"
8278
with:
8379
channel-id: bento
84-
slack-message: ":x: Version ${{ github.ref_name }} failed to release"
80+
payload: '{"text": ":x: Version ${{ github.ref_name }} failed to release"}'

0 commit comments

Comments
 (0)