From 800d53ddba53dbecfcad5ff467d83b2078491e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorian=20Pu=C5=82a?= Date: Mon, 15 Mar 2021 23:45:01 -0400 Subject: [PATCH] Migrate to rsync deployment from s3 upload. --- .drone.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 55696ac..539d3b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,19 +13,23 @@ steps: path: /export - name: upload-site - image: minio/mc - environment: - MC_HOST_linode: - from_secret: linode-obj-host - commands: - - mc cp --recursive /godot-html-js-integration-demo linode/games-birch-tree-net + image: drillster/drone-rsync + settings: + user: + from_secret: ssh-username + key: + from_secret: ssh-key + hosts: [ "birch-tree.net" ] + source: /godot-html-js-integration-demo + target: /srv/supply-depot/games-birch-tree-net/www + recursive: true + args: "--chown=www-data:www-data" volumes: - name: game_export path: /godot-html-js-integration-demo - depends: + depends_on: - build-game - volumes: - name: game_export temp: {}