From a5a22e4aefc323958a05fbbff706dc4718c266e7 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Wed, 23 Dec 2020 21:21:50 +0200 Subject: [PATCH] Add Drone auto-deployment --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..bb8a194 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,13 @@ +--- +kind: pipeline +name: deploy to docker container +steps: + - name: docker cp deploy + image: 3wordchant/docker-cp-deploy:latest + settings: + host: swarm.autonomic.zone + service: writing_kawaiipunk_xyz_app + source: . + dest: /usr/share/nginx/html + deploy_key: + from_secret: drone_ssh_swarm.autonomic.zone