Add CI with Drone

This commit is contained in:
3wc 2021-07-25 15:31:44 +02:00
parent d7c8c474dc
commit 0c238b7f38
1 changed files with 21 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
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: discourse
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
environment:
DOMAIN: discourse.swarm-test.autonomic.zone
STACK_NAME: discourse
LETS_ENCRYPT_ENV: production
SECRET_DB_ROOT_PASSWORD_VERSION: v1
trigger:
branch:
- main