diff --git a/.drone.yml b/.drone.yml index 92724a7..f4b8675 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,20 @@ steps: DOMAIN: ${REPO_NAME_KEBAB}.swarm-test.autonomic.zone STACK_NAME: ${REPO_NAME_SNAKE} LETS_ENCRYPT_ENV: production + + - 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: + - deployment + when: + status: + - failure trigger: branch: - main