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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user