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