notify slack on failure
This commit is contained in:
parent
ce4c58dcd7
commit
7502034005
|
@ -7,10 +7,10 @@ on:
|
|||
|
||||
jobs:
|
||||
send_notification:
|
||||
if: ${{ failure() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send Slack notification
|
||||
- name: Notify on Backend Tests failure
|
||||
if: ${{ github.event.workflow_run.conclusion != 'success' }}
|
||||
run: |
|
||||
curl -X POST -H 'Content-type: application/json' \
|
||||
--data '{"text":"Workflow <${{ github.event.workflow_run.html_url }}|${{ github.event.workflow.name }}> failed!"}' \
|
||||
|
|
Loading…
Reference in New Issue