From 23cc0543a93a4cf34df09066dbc5d9b19a7152e8 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 20 Jul 2021 10:43:45 +0200 Subject: [PATCH] Add CI tests with Drone --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..be7be06 --- /dev/null +++ b/.drone.yml @@ -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