add notify task to drone config

This commit is contained in:
Robert Kaussow 2019-01-27 14:54:47 +01:00
parent b0ef339cd3
commit 8baf47a907
1 changed files with 18 additions and 0 deletions

View File

@ -27,3 +27,21 @@ steps:
from_secret: git_push_ssh_key
when:
event: push
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org
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
password:
from_secret: matrix_password
depends_on:
- ansible-latest
- ansible-master
when:
status:
- success
- failure