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

View file

@ -22,10 +22,18 @@ pipeline:
- sudo systemctl restart docker-hugo - sudo systemctl restart docker-hugo
when: when:
event: push event: push
notify: notify-bad:
image: registry.daemons.it/drone-xmpp 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] secrets: [xmpp_user, xmpp_password, xmpp_room]
when: 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 event: push
branch: master branch: master