Add Drone deployment to our CI server

This commit is contained in:
3wc 2020-09-25 12:21:22 +02:00
parent fbe5ccb38b
commit 462c7fd895
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:0.0.1
settings:
compose: compose.yml
host: swarm-test.autonomic.zone
stack: traefik
deploy_key:
from_secret: drone_deploy_key
environment:
DOMAIN: traefik.swarm-test.autonomic.zone
STACK_NAME: traefik
LETS_ENCRYPT_ENV: production
trigger:
branch:
- master