File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 2121 run : yarn install
2222 - name : Test
2323 run : yarn test
24+ - uses : 8398a7/action-slack@v1
25+ with :
26+ type : failure
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
30+ if : failure()
2431
2532 release :
2633 name : Publish Package
7784 ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
7885 BRANCH : gh-pages
7986 FOLDER : gh-pages
87+ - uses : 8398a7/action-slack@v1
88+ with :
89+ type : failure
90+ env :
91+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
92+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
93+ if : failure()
8094
8195 releases :
8296 name : Upload build files
@@ -97,3 +111,22 @@ jobs:
97111 asset_name : jquery.marker-animation.min.js
98112 tag : ${{ github.ref }}
99113 overwrite : true
114+ - uses : 8398a7/action-slack@v1
115+ with :
116+ type : failure
117+ env :
118+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
120+ if : failure()
121+
122+ slack :
123+ name : Slack
124+ needs : [release, pages, releases]
125+ runs-on : ubuntu-latest
126+ steps :
127+ - uses : 8398a7/action-slack@v1
128+ with :
129+ type : success
130+ env :
131+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
132+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments