From 52a3cd95207b26ac3ca7118b01e46c30a8376333 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Sat, 4 Jan 2025 17:50:17 -0500 Subject: [PATCH] Add build failure notifications --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7fd2098..f15cc17 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,21 @@ steps: from_secret: drone_ssh_swarm-0_coopcloud_tech depends_on: - build static + + - 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: + - build static + - deployment + when: + status: + - failure trigger: branch: - main