Add email notification for failed jobs
This commit is contained in:
parent
f59c505885
commit
3e5967a0cb
1 changed files with 4 additions and 0 deletions
|
@ -28,3 +28,7 @@ tasks:
|
||||||
docker push crocmagnon/blog
|
docker push crocmagnon/blog
|
||||||
- deploy: |
|
- deploy: |
|
||||||
ssh blog -o StrictHostKeyChecking=no "/srv/blog/redeploy"
|
ssh blog -o StrictHostKeyChecking=no "/srv/blog/redeploy"
|
||||||
|
triggers:
|
||||||
|
- action: email
|
||||||
|
condition: failure
|
||||||
|
to: Gabriel Augendre <gabriel@augendre.info>
|
||||||
|
|
Reference in a new issue