From 3b1dfb756236a2ed9bce0d1d2d1b8db2c8056fda Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 15 Jul 2021 22:29:31 +0200 Subject: [PATCH] Wire up notifications for failures --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.drone.yml b/.drone.yml index 71bf2bbc..930334bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,3 +6,20 @@ steps: image: golang:1.16 commands: - make build + + - name: notify on failure + image: plugins/matrix + settings: + homeserver: https://matrix.autonomic.zone + roomid: "IFazIpLtxiScqbHqoa:autonomic.zone" + userid: "@autono-bot:autonomic.zone" + accesstoken: + from_secret: autono_bot_access_token + depends_on: + - make build + when: + status: + - failure +trigger: + branch: + - main