File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed
Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,11 @@ jobs:
4545
4646 - name : Alert on Failure
4747 if : failure() && github.repository == 'nodejs/release-cloudflare-worker'
48- runs-on : ubuntu-latest
49- steps :
50- - name : Slack Notification
51- uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
52- env :
53- SLACK_COLOR : ' #DE512A'
54- SLACK_ICON : https://github.com/nodejs.png?size=48
55- SLACK_TITLE : Deployment failed (${{ github.ref }})
56- SLACK_MESSAGE : |
57- A deployment of the Release Worker has failed.
58- SLACK_USERNAME : nodejs-bot
59- SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
60-
48+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
49+ env :
50+ SLACK_COLOR : ' #DE512A'
51+ SLACK_ICON : https://github.com/nodejs.png?size=48
52+ SLACK_TITLE : Deployment failed (${{ github.ref }})
53+ SLACK_MESSAGE : A deployment of the Release Worker has failed.
54+ SLACK_USERNAME : nodejs-bot
55+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change @@ -63,10 +63,14 @@ jobs:
6363 env :
6464 GITHUB_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
6565
66- - name : Deploy to Production
67- if : steps.git_auto_commit.outputs.changes_detected == 'true'
68- run : |
69- gh workflow run deploy.yml
66+ - name : Alert on Failure
67+ if : failure() && github.repository == 'nodejs/release-cloudflare-worker'
68+ uses : rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
7069 env :
71- GITHUB_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
70+ SLACK_COLOR : ' #DE512A'
71+ SLACK_ICON : https://github.com/nodejs.png?size=48
72+ SLACK_TITLE : Update links failed (${{ github.ref }})
73+ SLACK_MESSAGE : The `update-links.yml` action has failed.
74+ SLACK_USERNAME : nodejs-bot
75+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
7276
You can’t perform that action at this time.
0 commit comments