From 8baf47a907450bc6b5f13167738932e653003529 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 27 Jan 2019 14:54:47 +0100 Subject: [PATCH] add notify task to drone config --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4cbb88e..e615b1b 100644 --- a/.drone.yml +++ b/.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 }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" + username: + from_secret: matrix_username + password: + from_secret: matrix_password + depends_on: + - ansible-latest + - ansible-master + when: + status: + - success + - failure