From 96a581412c79780c789347b6f12b50656dfdb7d1 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 12 Jul 2020 02:49:47 -0700 Subject: [PATCH] change back to rsync --- .drone.yml | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/.drone.yml b/.drone.yml index f4c071b..3832de7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,27 +14,16 @@ steps: validate: true url: http://moonside.games/docs/encompass -# - name: deploy -# image: drillster/drone-rsync -# settings: -# hosts: -# - moonside.games -# target: /var/www/docs/encompass -# source: public/ -# recursive: true -# user: hugo -# secrets: [ rsync_key ] -# when: -# branch: -# - main - - name: deploy - image: appleboy/drone-scp + image: drillster/drone-rsync settings: - host: moonside.games - username: hugo - password: - from_secret: scp_key - port: 22 - target: /var/www/html/docs/encompass - source: ./public + hosts: + - moonside.games + target: /var/www/docs/encompass + source: public/ + recursive: true + user: hugo + secrets: [ rsync_key ] + when: + branch: + - main