File tree Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 51
51
uses : actions/deploy-pages@main
52
52
53
53
- name : Slack Notification (not success)
54
- uses : lazy-actions/slatify@master
54
+ uses : act10ns/slack@v2
55
55
if : " ! success()"
56
56
continue-on-error : true
57
57
with :
58
- job_name : " *pages*"
59
- type : ${{ job.status }}
60
- icon_emoji : " :octocat:"
61
- url : ${{ secrets.SLACK_WEBHOOK }}
62
- token : ${{ secrets.GITHUB_TOKEN }}
58
+ status : ${{ job.status }}
59
+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change @@ -67,15 +67,13 @@ jobs:
67
67
continue-on-error : true
68
68
69
69
- name : Slack Notification (not success)
70
- uses : lazy-actions/slatify@master
70
+ uses : act10ns/slack@v2
71
71
if : " ! success()"
72
72
continue-on-error : true
73
73
with :
74
- job_name : ${{ format('*build* ({0})', matrix.ruby) }}
75
- type : ${{ job.status }}
76
- icon_emoji : " :octocat:"
77
- url : ${{ secrets.SLACK_WEBHOOK }}
78
- token : ${{ secrets.GITHUB_TOKEN }}
74
+ status : ${{ job.status }}
75
+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
76
+ matrix : ${{ toJson(matrix) }}
79
77
80
78
notify :
81
79
needs :
85
83
86
84
steps :
87
85
- name : Slack Notification (success)
88
- uses : lazy-actions/slatify@master
86
+ uses : act10ns/slack@v2
89
87
if : always()
90
88
continue-on-error : true
91
89
with :
92
- job_name : ' *build*'
93
- type : ${{ job.status }}
94
- icon_emoji : " :octocat:"
95
- url : ${{ secrets.SLACK_WEBHOOK }}
96
- token : ${{ secrets.GITHUB_TOKEN }}
90
+ status : ${{ job.status }}
91
+ webhook-url : ${{ secrets.SLACK_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments