add notify task to drone config
This commit is contained in:
parent
b0ef339cd3
commit
8baf47a907
18
.drone.yml
18
.drone.yml
|
@ -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
|
||||
|
|
Reference in New Issue