From 4d232e8107f5ae8f499ddd7e25eeb5fd60fb868a Mon Sep 17 00:00:00 2001 From: sthope Date: Thu, 2 Sep 2021 13:43:12 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9762645..9a72745 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,24 +26,23 @@ steps: DISCORD_WEBHOOK_TOKEN: from_secret: discord_webhook_token settings: - message_file: drone-discord-msg.tpl - # message: > - # {{#success build.status}} - # ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. + message: > + {{#success build.status}} + ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. - # 📝 Commit by {{commit.author}} on `{{commit.branch}}`: - # ``` - # {{commit.message}} - # ``` - # 🌐 <{{ build.link }}> - # {{else}} - # ❌ Build #{{build.number}} of `{{repo.name}}` failed. - # 📝 Commit by {{commit.author}} on `{{commit.branch}}`: - # ``` - # {{commit.message}} - # ``` - # 🌐 <{{ build.link }}> - # {{/success}} + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 <{{ build.link }}> + {{else}} + ❌ Build #{{build.number}} of `{{repo.name}}` failed. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 <{{ build.link }}> + {{/success}} # when: