Add build failure notifications
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
13c5ae9b7b
commit
52a3cd9520
15
.drone.yml
15
.drone.yml
@ -21,6 +21,21 @@ steps:
|
|||||||
from_secret: drone_ssh_swarm-0_coopcloud_tech
|
from_secret: drone_ssh_swarm-0_coopcloud_tech
|
||||||
depends_on:
|
depends_on:
|
||||||
- build static
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user