Add Drone CI

This commit is contained in:
3wc 2020-10-01 20:42:59 +02:00
parent 096d83445a
commit ff12da9d63
1 changed files with 19 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
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: swarmpit
deploy_key:
from_secret: swarmpit_ssh_swarm_test
purge: true
environment:
DOMAIN: swarmpit.swarm-test.autonomic.zone
STACK_NAME: swarmpit
LETS_ENCRYPT_ENV: production
trigger:
branch:
- master