recipes/.drone.yml
2022-05-04 10:20:35 +01:00

28 lines
692 B
YAML

---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: recipes_coopcloud_tech_json
host: mellor.coopcloud.tech
deploy_key:
from_secret: drone_ssh_coopcloud_mellor
- 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: autonobot_rocketchat_access_token
depends_on:
- deployment
when:
status:
- failure
trigger:
branch:
- main