From 53820f7365aea3390752a37cdf2bb368ce2ca6d5 Mon Sep 17 00:00:00 2001 From: greglebreton Date: Fri, 24 Mar 2023 17:31:49 +0100 Subject: [PATCH] test telegram notification --- .drone.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8310860..e95d774 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,10 +48,19 @@ steps: - success format: markdown message: > - 📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} by {{commit.author}} {{#success build.status}} - ✅ succeeded for 👷‍♂️ build {{build.number}} by {{commit.author}} + ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} {{else}} - 🛑 failed for 👷‍♂️ build {{build.number}} + ❌ Build #{{build.number}} of `{{repo.name}}` failed. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} {{/success}} - +