[SKIP CI] fix notification
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
1a109553db
commit
ae018484a7
@ -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,
|
||||
|
@ -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
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user