Enable Drone CI

This commit is contained in:
3wc 2020-10-01 21:47:17 +02:00
parent 844702337a
commit 16aa80c5fb
1 changed files with 22 additions and 0 deletions

22
.drone.yml Normal file
View File

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