From eb1b264b1ef3de4509b05b67b3872a6407c3ffad Mon Sep 17 00:00:00 2001 From: gregandev Date: Thu, 15 Jun 2023 18:54:04 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index b051765..20a1e62 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,14 +60,15 @@ steps: from_secret: TELEGRAM_TOKEN to: from_secret: TELEGRAM_USERID + when: + status: + - failure + - success + format: markdown message: > 📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} {{#success build.status}} ✅ succeeded for 👷♂ build {{build.number}} {{else}} 🛑 failed for 👷♂ build {{build.number}} - {{/success}} - when: - status: - - failure - - success + {{/success}} \ No newline at end of file