add slack job failure notification
This commit is contained in:
parent
8edc4a0da6
commit
e14f7966ba
@ -41,3 +41,20 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
PATH=$PATH:~/bin
|
PATH=$PATH:~/bin
|
||||||
./tests/fixturenet-plugeth-stack/run-test.sh
|
./tests/fixturenet-plugeth-stack/run-test.sh
|
||||||
|
|
||||||
|
- name: Notify Vulcanize Slack on CI failure
|
||||||
|
if: ${{ always() && github.ref_name == 'main' }}
|
||||||
|
uses: ravsamhq/notify-slack-action@v2
|
||||||
|
with:
|
||||||
|
status: ${{ job.status }}
|
||||||
|
notify_when: 'failure'
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS }}
|
||||||
|
- name: Notify DeepStack Slack on CI failure
|
||||||
|
if: ${{ always() && github.ref_name == 'main' }}
|
||||||
|
uses: ravsamhq/notify-slack-action@v2
|
||||||
|
with:
|
||||||
|
status: ${{ job.status }}
|
||||||
|
notify_when: 'failure'
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS }}
|
||||||
|
Loading…
Reference in New Issue
Block a user