feat(Drone): Ajout d'une notification si erreur il y a
continuous-integration/drone Build was killed Details

This commit is contained in:
Simon 2023-01-16 16:19:19 +01:00
parent 1b394ad151
commit 287fb36a80
1 changed files with 8 additions and 8 deletions

View File

@ -54,13 +54,13 @@ steps:
- hugo deploy --environment production
- name: notify
image: plugins/matrix
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "@resilien:converser.eu"
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_TOKEN
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]
@ -94,12 +94,12 @@ steps:
- hugo deploy --environment staging
- name: notify
image: plugins/matrix
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "@resilien:converser.eu"
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_TOKEN
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]