From b33d48c51c08ed9decc8c12cbff2b295680fa0b8 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 3 Jun 2021 23:36:10 +0200 Subject: [PATCH] Add notify --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index e237a03..6db34af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,21 @@ steps: stack: coop_cloud_mkdocs deploy_key: from_secret: drone_ssh_swarm.autonomic.zone + + - name: notify coopcloud-dev 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: + - bundle static + - deployment + when: + status: + - failure trigger: branch: - main