Notification auskommentiert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4e108a3a18
commit
c656e96a86
1 changed files with 21 additions and 20 deletions
41
.drone.yml
41
.drone.yml
|
@ -34,23 +34,24 @@ steps:
|
|||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: drone_ssh_key
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
homeserver: https://matrix.un-hack-bar.de
|
||||
roomid: fUltBPKcpwFMiDQCAL:matrix.un-hack-bar.de
|
||||
username: daneelolivaw
|
||||
password: $MATRIX_PASSWD
|
||||
template: |
|
||||
{{#success build.status}}
|
||||
{{build.author}} just built `{{repo.name}}:{{build.branch}}` from <${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}>
|
||||
:new: {{build.message}}
|
||||
{{else}}
|
||||
{{build.author}} just broke the build of `{{repo.name}}:{{build.branch}}` with >${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}
|
||||
:new: :zombie: {{build.message}}
|
||||
{{/success}}
|
||||
:stopwatch: {{ since build.started }}
|
||||
:gear: {{build.link}}
|
||||
environment:
|
||||
MATRIX_PASSWD:
|
||||
from_secred: matrix_password
|
||||
# Currently not working
|
||||
#- name: Notify via Matrix
|
||||
# image: plugins/matrix
|
||||
# settings:
|
||||
# homeserver: https://matrix.un-hack-bar.de
|
||||
# roomid: fUltBPKcpwFMiDQCAL:matrix.un-hack-bar.de
|
||||
# username: daneelolivaw
|
||||
# password: $MATRIX_PASSWD
|
||||
# template: |
|
||||
# {{#success build.status}}
|
||||
# {{build.author}} just built `{{repo.name}}:{{build.branch}}` from <${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}>
|
||||
# :new: {{build.message}}
|
||||
# {{else}}
|
||||
# {{build.author}} just broke the build of `{{repo.name}}:{{build.branch}}` with >${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}
|
||||
# :new: :zombie: {{build.message}}
|
||||
# {{/success}}
|
||||
# :stopwatch: {{ since build.started }}
|
||||
# :gear: {{build.link}}
|
||||
# environment:
|
||||
# MATRIX_PASSWD:
|
||||
# from_secred: matrix_password
|
Loading…
Reference in a new issue