From a1229545346a056a43479f190a70f0da80bb1103 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 8 Mar 2020 07:11:38 +0100 Subject: [PATCH] specified path --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73d6c9d..8d69b44 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,10 +37,10 @@ steps: - git submodule update - rm -rfv ./public - hugo --gc=true --minify - - echo "$HUGO_KEY" > hugo_deploy - - chmod -v 600 hugo_deploy #hellyeah - - rsync -ave 'ssh -vvvv -i ./hugo_deploy -o KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $HUGO_USER@$HUGO_HOST:$HUGO_DIR || true - - shred -zuv 7 hugo_deploy || true + - echo "$HUGO_KEY" > ~/hugo_deploy + - chmod -v 600 ~/hugo_deploy #hellyeah + - rsync -ave 'ssh -vvvv -i ~/hugo_deploy -o KexAlgorithms=curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $HUGO_USER@$HUGO_HOST:$HUGO_DIR || true + - shred -zuv 7 ~/hugo_deploy || true when: status: - success