federatedwiki/.drone.yml

42 lines
976 B
YAML
Raw Normal View History

---
kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: federatedwiki
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
networks:
- proxy
environment:
DOMAIN: federatedwiki.swarm-test.autonomic.zone
STACK_NAME: federatedwiki
LETS_ENCRYPT_ENV: production
INSTALL_SH_VERSION: v1
CONFIG_JSON_VERSION: v1
CONFIG_OWNER_JSON_VERSION: v1
trigger:
branch:
- main
---
kind: pipeline
name: generate recipe catalogue
steps:
- name: release a new version
image: plugins/downstream
settings:
server: https://build.coopcloud.tech
token:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag