Add CI tests with Drone

This commit is contained in:
3wc 2021-07-20 10:43:45 +02:00
parent 49622215ad
commit 23cc0543a9
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: wordpress
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
environment:
DOMAIN: capsul.swarm-test.autonomic.zone
STACK_NAME: capsul
LETS_ENCRYPT_ENV: production
SECRET_HUB_TOKEN_VERSION: v1
trigger:
branch:
- main