Add notify config

This commit is contained in:
decentral1se 2021-06-03 23:34:30 +02:00
parent f7fd4b6f7e
commit 2ce1e2aded
1 changed files with 14 additions and 0 deletions

View File

@ -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