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