38 lines
925 B
YAML
38 lines
925 B
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm-test.autonomic.zone
|
|
steps:
|
|
- name: deployment
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
settings:
|
|
host: swarm-test.autonomic.zone
|
|
stack: lemmy
|
|
generate_secrets: true
|
|
purge: true
|
|
networks:
|
|
- proxy
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
environment:
|
|
DOMAIN: lemmy.swarm-test.autonomic.zone
|
|
STACK_NAME: lemmy
|
|
LETS_ENCRYPT_ENV: production
|
|
SECRET_POSTGRES_PASSWORD_VERSION: v1
|
|
SECRET_ADMIN_PASSWORD_VERSION: v1
|
|
NGINX_CONF_VERSION: v1
|
|
ENTRYPOINT_APP_VERSION: v1
|
|
CONFIG_HJSON_VERSION: v1
|
|
trigger:
|
|
branch:
|
|
- main
|
|
# ---
|
|
# kind: pipeline
|
|
# name: recipe release
|
|
# steps:
|
|
# - name: release a new version
|
|
# image: thecoopcloud/drone-abra:latest
|
|
# settings:
|
|
# command: recipe lemmy release
|
|
# deploy_key:
|
|
# from_secret: abra_bot_deploy_key
|