drone.yml: Nicer notifications.
This commit is contained in:
parent
31779f491f
commit
9acdc42dc3
@ -21,15 +21,13 @@ steps:
|
||||
password:
|
||||
from_secret: matrix_password
|
||||
template: >
|
||||
Built {{commit.branch}} @{{truncate build.commit 7}}: {{commit.message}}
|
||||
|
||||
Built <code>{{truncate build.commit 7}}</code>: <code>{{build.message}}</code><br>
|
||||
<br>
|
||||
{{#success build.status}}
|
||||
Build {{build.number}} succeeded. Good job!
|
||||
{{else}}
|
||||
Build {{build.number}} failed. See {{build.link}} for more information.
|
||||
<strong>Build {{build.number}} failed.</strong> See {{build.link}} for more information.
|
||||
{{/success}}
|
||||
|
||||
{{build.message}}
|
||||
|
||||
when:
|
||||
status: [success, failure]
|
||||
|
Loading…
Reference in New Issue
Block a user