Add notify
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7b42c1a7ce
commit
b33d48c51c
15
.drone.yml
15
.drone.yml
|
@ -18,6 +18,21 @@ steps:
|
||||||
stack: coop_cloud_mkdocs
|
stack: coop_cloud_mkdocs
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_ssh_swarm.autonomic.zone
|
from_secret: drone_ssh_swarm.autonomic.zone
|
||||||
|
|
||||||
|
- 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:
|
||||||
|
- bundle static
|
||||||
|
- deployment
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
Reference in New Issue