From 0c238b7f38aeaeb938979ba4fe5d195b2018a874 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Sun, 25 Jul 2021 15:31:44 +0200 Subject: [PATCH] Add CI 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..796937e --- /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: discourse + generate_secrets: true + purge: true + deploy_key: + from_secret: drone_ssh_swarm_test + environment: + DOMAIN: discourse.swarm-test.autonomic.zone + STACK_NAME: discourse + LETS_ENCRYPT_ENV: production + SECRET_DB_ROOT_PASSWORD_VERSION: v1 +trigger: + branch: + - main