fix(drone): Improve telegram message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7938ce2dfa
commit
b7915eaae3
11
.drone.yml
11
.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
|
||||
|
Loading…
Reference in New Issue
Block a user