forked from coop-cloud/example
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue