From 8a29b08f0b7bf0135a0aeadf8cecdbdeaa4a463e Mon Sep 17 00:00:00 2001 From: Yann Autissier Date: Fri, 6 Dec 2024 17:14:18 +0000 Subject: [PATCH] fix drone publish --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2b893a1..27b0907 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: path: /var/run/docker.sock - name: publish - image: plugins/sftp + image: appleboy/drone-scp settings: username: from_secret: ssh_username @@ -27,8 +27,9 @@ steps: from_secret: ssh_password host: open.us.org port: 22 - files: ./.output/public/* - destination_path: /dav/www/ + rm: true + source: ./.output/public/* + target: /dav/www/ when: branch: - main