From 0776bb4ff784031c3ff4e9ff611f7ab3746af973 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 10 Mar 2020 02:39:27 +0100 Subject: [PATCH] sshpass deemed not feasible --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index ebd3abd..5ab620e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,17 +32,14 @@ steps: from_secret: hugo_host HUGO_DIR: from_secret: hugo_dir - HUGO_PASSWD: - from_secret: hugo_passwd commands: - - pacman -Sy --needed --noconfirm sshpass - git submodule init - git submodule update - rm -rfv ./public - hugo --gc=true --minify - echo $HUGO_KEY > ./hugo_deploy - chmod -v 600 ./hugo_deploy - - rsync -av -e "sshpass -p $HUGO_PASSWD ssh -vv -o KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no" --delete public/ $HUGO_USER@$HUGO_HOST:$HUGO_DIR + - rsync -av -e "ssh -vv -o KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no -i ./hugo_deploy" --delete public/ $HUGO_USER@$HUGO_HOST:$HUGO_DIR - shred -zuv -n 7 ./hugo_deploy when: status: