ensure notification runs always
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-01-19 00:36:23 +01:00
parent eabe1a96a9
commit b2ae2f1e26
3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -117,6 +117,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:
@ -131,6 +135,6 @@ depends_on:
---
kind: signature
hmac: 37c5c19d87c11a5908ed228277fd66d945d7e23dd2ad0cab0e02e374dec90719
hmac: bf96f1fa6c186e8fd1b89c845b62d54206099b7455e4532cd5b7a5b2c8258839
...

View File

@ -48,7 +48,6 @@ ADMIN_TOKEN={{ getenv "BITWARDENRS_ADMIN_TOKEN" }}
{{ end -}}
DISABLE_ADMIN_TOKEN=false
PASSWORD_ITERATIONS={{ getenv "BITWARDENRS_PASSWORD_ITERATIONS" "100000" }}
SHOW_PASSWORD_HINT={{ getenv "BITWARDENRS_SHOW_PASSWORD_HINT" "true" | conv.Bool }}
DOMAIN={{ getenv "BITWARDENRS_DOMAIN" "http://localhost/" }}