From 3acbc1309da57c0b13fa524f49706210008daf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Lebreton?= Date: Thu, 18 Jan 2024 13:17:40 +0100 Subject: [PATCH] maj email notif template --- .drone.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 65a655ab..65035c6d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,10 +49,15 @@ steps: recipients: [ contact@legaragenumerique.fr ] subject: > [{{ build.status }}] - {{ repo.owner }}/{{ repo.name }} - attachment: build-result.xml - body: - https://git.io/vgvPz + {{ repo.owner }}/{{ repo.name }} + body: > + 📝 {{repo.name}} / {{commit.branch}} - {{commit.message}}
+ {{#success build.status}} + ✅ succeeded for 👷‍♂️ build {{build.number}} + {{else}} + 🛑 failed for 👷‍♂️ build {{build.number}} + {{/success}} +
when: status: [ success, failure ] \ No newline at end of file