Update pipeline

This commit is contained in:
drymer 2018-09-09 21:38:53 +02:00
parent 0e66eea451
commit 98b0d13dc3
Signed by: drymer
GPG Key ID: A307D64D5DDFDAAD
1 changed files with 10 additions and 2 deletions

View File

@ -22,10 +22,18 @@ pipeline:
- sudo systemctl restart docker-hugo
when:
event: push
notify:
notify-bad:
image: registry.daemons.it/drone-xmpp
message: Beep, boop, soy un bot. La actualización de la web ha ido mal: {build_link}
secrets: [xmpp_user, xmpp_password, xmpp_room]
when:
status: [success, failure]
status: [failure]
event: push
notify-good:
image: registry.daemons.it/drone-xmpp
secrets: [xmpp_user, xmpp_password, xmpp_room]
message: Beep, boop, soy un bot. La página se ha actualizado correctamente.
when:
status: [success]
event: push
branch: master