From 5a51d17f2b0f60e795992c497c82182df4383208 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 17 Jan 2023 11:11:29 +0100 Subject: [PATCH] =?UTF-8?q?feat(Drone):=20Ajout=20de=20notification=20si?= =?UTF-8?q?=20un=20probl=C3=A8me=20survient=20lors=20de=20la=20constructio?= =?UTF-8?q?n=20du=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.drone.yml b/.drone.yml index caeda98..bce7b4b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,6 +66,17 @@ steps: - mc alias set garage https://s3.garage.resilien.cloud $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY --api S3v4 - mc mirror --overwrite /drone/src/dist garage/scores.ceiba-conseil.com +- name: notify + image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f + settings: + homeserver: https://converser.eu + roomid: "QwOITmkKxRJJyCSDOZ:converser.eu" + userid: "resilien:converser.eu" + accesstoken: + from_secret: MATRIX_ACCESSTOKEN + when: + status: [ failure ] + volumes: - name: node_modules host: @@ -103,6 +114,17 @@ steps: - mc alias set garage https://s3.garage.resilien.cloud $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY --api S3v4 - mc mirror --overwrite /drone/src/dist garage/staging.scores.ceiba-conseil.com +- name: notify + image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f + settings: + homeserver: https://converser.eu + roomid: "QwOITmkKxRJJyCSDOZ:converser.eu" + userid: "resilien:converser.eu" + accesstoken: + from_secret: MATRIX_ACCESSTOKEN + when: + status: [ failure ] + volumes: - name: node_modules host: