Add email notification for failed jobs

This commit is contained in:
Gabriel Augendre 2020-08-18 11:02:54 +02:00
parent f59c505885
commit 3e5967a0cb

View file

@ -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>