diff --git a/.drone.yml b/.drone.yml index 55321f7..1155762 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,7 +39,7 @@ steps: - hugo --gc=true --minify - echo "$hugo_key" > hugo_deploy - chmod -v 600 hugo_deploy #hellyeah - - rsync -ave 'ssh -i ./hugo_deploy -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir + - rsync -ave 'ssh -i ./hugo_deploy -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir - shred -zuv 7 hugo_deploy || true when: status: