From b7915eaae3e10c86f585faf7ab15cede3d7d7400 Mon Sep 17 00:00:00 2001 From: Matthieu 'JP' DERASSE Date: Wed, 3 Aug 2022 13:42:43 +0000 Subject: [PATCH] fix(drone): Improve telegram message --- .drone.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b1ba1d5..f41b1e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,10 +53,17 @@ steps: from_secret: telegram_chat_id message: > {{#success build.status}} - build {{build.number}} succeeded. Good job. + ✅ Build **#{{build.number}}** of **`{{repo.name}}`** succeeded. {{else}} - build {{build.number}} failed. Fix me please. + ❌ Build **#{{build.number}}** of **`{{repo.name}}`** failed. {{/success}} + + 📝 Commit on **`{{commit.branch}}`**: + + ``` {{commit.message}} ``` + + 🌐 {{ build.link }} + format: markdown when: status: - failure