We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5f7a3 commit cef3018Copy full SHA for cef3018
.github/workflows/deploy.yml
@@ -42,4 +42,19 @@ jobs:
42
with:
43
apiToken: ${{ secrets.CF_API_TOKEN }}
44
command: deploy --env prod
45
+
46
+ - name: Alert on Failure
47
+ 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
0 commit comments