Files
recipes-catalogue-json/.drone.yml
3wc a4c8b84b79
Some checks failed
continuous-integration/drone/push Build is failing
fix: purge stack to avoid issue with immutable config..
.. wherein stack-ssh-deploy will fail, because Docker swarm configs
can't be changed post-definition, but we're not using any versioning
here to specify new content. So, hoping this should remove the stack
(and configs) and allow things to Just Work™.
2022-10-18 17:13:03 -04:00

30 lines
710 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
purge: true
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