From 0513b592043ee15333a488c9aaad61683c639b3c Mon Sep 17 00:00:00 2001 From: Jens True Date: Mon, 11 Apr 2022 14:06:58 +0000 Subject: [PATCH] Mount the destination dir --- .woodpecker.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 886fc9f..26944a7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,11 +5,8 @@ pipeline: - hugo mod get -u - hugo-official --minify --gc --cleanDestinationDir deploy: - image: appleboy/drone-scp - secrets: [SSH_USERNAME, SSH_PASSWORD] - host: jcktrue.dk - target: /home/jct/apps/http/jcktrue.dk/ - source: public/* - strip_components: 1 - username: $SSH_USERNAME - password: $SSH_PASSWORD \ No newline at end of file + image: eeacms/rsync + commands: + - rsync -r --delete public/ /mnt/jcktrue.dk + volumes: + - /home/jct/apps/httpd/jcktrue.dk/:/mnt/jcktrue.dk/ \ No newline at end of file