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 24c8aaf commit 0cff766Copy full SHA for 0cff766
.github/workflows/e2e-deploy.yml
@@ -1,5 +1,7 @@
1
name: Test e2e Deploy to WP Engine
2
on:
3
+ schedule:
4
+ - cron: '*/5 * * * *'
5
push:
6
branches:
7
- main
@@ -38,3 +40,12 @@ jobs:
38
40
- name: Validate deploy results
39
41
run: |
42
[ ${{needs.run_action.outputs.status}} = "pass" ] || exit 1
43
+ - name: Notify slack on failure
44
+ if: success() && github.ref == 'refs/heads/main'
45
+ env:
46
+ SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
47
+ uses: voxmedia/github-action-slack-notify-build@v1
48
+ with:
49
+ channel: status-github-action
50
+ status: FAILED
51
+ color: danger
0 commit comments