fix(drone): Improve telegram message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Matthieu 'JP' DERASSE 2022-08-03 13:42:43 +00:00
parent 7938ce2dfa
commit b7915eaae3
Signed by: mderasse
GPG Key ID: 55141C777B16A705

View File

@ -53,10 +53,17 @@ steps:
from_secret: telegram_chat_id from_secret: telegram_chat_id
message: > message: >
{{#success build.status}} {{#success build.status}}
build {{build.number}} succeeded. Good job. ✅ Build **#{{build.number}}** of **`{{repo.name}}`** succeeded.
{{else}} {{else}}
build {{build.number}} failed. Fix me please. ❌ Build **#{{build.number}}** of **`{{repo.name}}`** failed.
{{/success}} {{/success}}
📝 Commit on **`{{commit.branch}}`**:
``` {{commit.message}} ```
🌐 {{ build.link }}
format: markdown
when: when:
status: status:
- failure - failure