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