drone.yml: Nicer notifications.

This commit is contained in:
Fabian Schlenz 2019-06-11 19:44:53 +02:00
parent 31779f491f
commit 9acdc42dc3

View File

@ -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]