File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 16
16
w3up-proof : ${{ secrets.W3UP_PROOF }}
17
17
w3name-private-key : ${{ secrets.W3NAME_PRIVATE_KEY }}
18
18
w3name-revision : ${{ secrets.W3NAME_REVISION }}
19
+ - if : failure()
20
+
21
+ with :
22
+ method : chat.postMessage
23
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
24
+ payload : |
25
+ {
26
+ "channel": "alerts",
27
+ "text": "Publishing `${{ github.event.repository.name }}` failed",
28
+ "blocks": [
29
+ {
30
+ "type": "section",
31
+ "text": {
32
+ "type": "mrkdwn",
33
+ "text": ":warning: *<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Publishing `${{ github.event.repository.name }}` failed>*"
34
+ }
35
+ }
36
+ ]
37
+ }
19
38
-
uses :
slackapi/[email protected]
20
39
with :
21
40
channel-id : spark-public
You can’t perform that action at this time.
0 commit comments