From 7534aabd337a8b3ed43a580ebec9c4597c1d0380 Mon Sep 17 00:00:00 2001 From: tree Date: Thu, 13 Oct 2022 15:32:16 +0200 Subject: [PATCH] Woodpecker deploy (4) --- .woodpecker.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f982d3c..a8c3aa5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,16 +5,6 @@ pipeline: - npm ci - npm run build deploy: - image: drillster/drone-rsync - settings: - key: - from_secret: gweicz-docs-deploy-ssh-key - hosts: - - frontier.gwei.cz - port: 2022 - user: gweicz-docs-deploy - delete: true - source: build - target: /docs-web - when: - branch: [master] + image: rclone/rclone + commands: + - "rclone sync build/ :sftp: --sftp-host frontier.gwei.cz --sftp-user gweicz-docs-deploy --sftp-port 2022 --sftp-pass $RCLONE_PASS -v"