File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -66,19 +66,15 @@ jobs:
66
66
env :
67
67
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
68
68
SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
69
- JOB_STATUS : ${{ job.status }}
70
- ATTACHMENT_COLOR : " good"
71
69
with :
72
70
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!"} '
74
72
75
73
-
uses :
slackapi/[email protected]
76
74
if : ${{ job.status == 'failure' }}
77
75
env :
78
76
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
79
77
SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
80
- JOB_STATUS : ${{ job.status }}
81
- ATTACHMENT_COLOR : " danger"
82
78
with :
83
79
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"} '
You can’t perform that action at this time.
0 commit comments