Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sthope 2021-09-02 13:32:45 +02:00
parent 08cd163a1c
commit 4fc9dc5bba

View File

@ -26,23 +26,24 @@ steps:
DISCORD_WEBHOOK_TOKEN: DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token from_secret: discord_webhook_token
settings: settings:
message: > message_file: drone-discord-msg.tpl
{{#success build.status}} # message: >
✅ Build #{{build.number}} of `{{repo.name}}` succeeded. # {{#success build.status}}
# ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
📝 Commit by {{commit.author}} on `{{commit.branch}}`: # 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
``` # ```
{{commit.message}} # {{commit.message}}
``` # ```
🌐 <{{ build.link }}> # 🌐 <{{ build.link }}>
{{else}} # {{else}}
❌ Build #{{build.number}} of `{{repo.name}}` failed. # ❌ Build #{{build.number}} of `{{repo.name}}` failed.
📝 Commit by {{commit.author}} on `{{commit.branch}}`: # 📝 Commit by {{commit.author}} on `{{commit.branch}}`:
``` # ```
{{commit.message}} # {{commit.message}}
``` # ```
🌐 <{{ build.link }}> # 🌐 <{{ build.link }}>
{{/success}} # {{/success}}
# when: # when: