Use right key and notify on error
continuous-integration/drone/push Build was killed Details

This commit is contained in:
decentral1se 2021-06-05 09:02:54 +02:00
parent 0b28a56087
commit 5cf8b2fae2
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 14 additions and 14 deletions

View File

@ -13,22 +13,22 @@ steps:
host: swarm.autonomic.zone
stack: coop_cloud_apps_json
deploy_key:
from_secret: drone_ssh_swarm_test
from_secret: drone_ssh_swarm.autonomic.zone
rm: true
# - 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:
# - publish new json
# when:
# status:
# - failure
- 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:
- publish new json
when:
status:
- failure
trigger:
branch:
- main