Notification auskommentiert
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:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
- name: notify
|
# Currently not working
|
||||||
image: plugins/matrix
|
#- name: Notify via Matrix
|
||||||
settings:
|
# image: plugins/matrix
|
||||||
homeserver: https://matrix.un-hack-bar.de
|
# settings:
|
||||||
roomid: fUltBPKcpwFMiDQCAL:matrix.un-hack-bar.de
|
# homeserver: https://matrix.un-hack-bar.de
|
||||||
username: daneelolivaw
|
# roomid: fUltBPKcpwFMiDQCAL:matrix.un-hack-bar.de
|
||||||
password: $MATRIX_PASSWD
|
# username: daneelolivaw
|
||||||
template: |
|
# password: $MATRIX_PASSWD
|
||||||
{{#success build.status}}
|
# template: |
|
||||||
{{build.author}} just built `{{repo.name}}:{{build.branch}}` from <${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}>
|
# {{#success build.status}}
|
||||||
:new: {{build.message}}
|
# {{build.author}} just built `{{repo.name}}:{{build.branch}}` from <${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}>
|
||||||
{{else}}
|
# :new: {{build.message}}
|
||||||
{{build.author}} just broke the build of `{{repo.name}}:{{build.branch}}` with >${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}
|
# {{else}}
|
||||||
:new: :zombie: {{build.message}}
|
# {{build.author}} just broke the build of `{{repo.name}}:{{build.branch}}` with >${DRONE_COMMIT_LINK}|#{{truncate build.commit 8}}
|
||||||
{{/success}}
|
# :new: :zombie: {{build.message}}
|
||||||
:stopwatch: {{ since build.started }}
|
# {{/success}}
|
||||||
:gear: {{build.link}}
|
# :stopwatch: {{ since build.started }}
|
||||||
environment:
|
# :gear: {{build.link}}
|
||||||
MATRIX_PASSWD:
|
# environment:
|
||||||
from_secred: matrix_password
|
# MATRIX_PASSWD:
|
||||||
|
# from_secred: matrix_password
|
Loading…
Reference in a new issue