Update pipeline
This commit is contained in:
parent
0e66eea451
commit
98b0d13dc3
12
.drone.yml
12
.drone.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue