[SKIP CI] fix notification
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Robert Kaussow 2020-02-20 17:40:54 +01:00
parent 1a109553db
commit ae018484a7
2 changed files with 11 additions and 1 deletions

View File

@ -109,6 +109,12 @@ local PipelineNotifications(depends_on=[]) = {
username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' },
},
when: {
status: [
'success',
'failure',
],
},
},
],
depends_on: depends_on,

View File

@ -102,6 +102,10 @@ steps:
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
@ -116,6 +120,6 @@ depends_on:
---
kind: signature
hmac: 289a88085205c242f268a8388ce5bdd995772990328373a70ae411c2d612ad48
hmac: f0d15cc962a0fc24405a835ed125ce8af4769c0f4f7458c147b7cf612270c48c
...