Add notify config
This commit is contained in:
parent
f7fd4b6f7e
commit
2ce1e2aded
14
.drone.yml
14
.drone.yml
|
@ -14,6 +14,20 @@ steps:
|
||||||
DOMAIN: ${REPO_NAME_KEBAB}.swarm-test.autonomic.zone
|
DOMAIN: ${REPO_NAME_KEBAB}.swarm-test.autonomic.zone
|
||||||
STACK_NAME: ${REPO_NAME_SNAKE}
|
STACK_NAME: ${REPO_NAME_SNAKE}
|
||||||
LETS_ENCRYPT_ENV: production
|
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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in New Issue