feat(Drone): Ajout d'une notification si erreur il y a
Some checks reported errors
continuous-integration/drone Build was killed
Some checks reported errors
continuous-integration/drone Build was killed
This commit is contained in:
16
.drone.yml
16
.drone.yml
@ -54,13 +54,13 @@ steps:
|
|||||||
- hugo deploy --environment production
|
- hugo deploy --environment production
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://converser.eu
|
homeserver: https://converser.eu
|
||||||
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
|
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
|
||||||
userid: "@resilien:converser.eu"
|
userid: "resilien:converser.eu"
|
||||||
accesstoken:
|
accesstoken:
|
||||||
from_secret: MATRIX_TOKEN
|
from_secret: MATRIX_ACCESSTOKEN
|
||||||
when:
|
when:
|
||||||
status: [ failure ]
|
status: [ failure ]
|
||||||
|
|
||||||
@ -94,12 +94,12 @@ steps:
|
|||||||
- hugo deploy --environment staging
|
- hugo deploy --environment staging
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://converser.eu
|
homeserver: https://converser.eu
|
||||||
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
|
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
|
||||||
userid: "@resilien:converser.eu"
|
userid: "resilien:converser.eu"
|
||||||
accesstoken:
|
accesstoken:
|
||||||
from_secret: MATRIX_TOKEN
|
from_secret: MATRIX_ACCESSTOKEN
|
||||||
when:
|
when:
|
||||||
status: [ failure ]
|
status: [ failure ]
|
||||||
|
Reference in New Issue
Block a user