From ddb49f7ab206bd97c17b79d079507261564c0be6 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 3 Jun 2021 23:36:48 +0200 Subject: [PATCH] Add notify also --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index f43bbf4..42579a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,21 @@ steps: stack: coop_cloud_site 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