From 1c6d78441cd2fc68b6462bddc80185e0a8f824b1 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 8 Mar 2020 07:45:10 +0100 Subject: [PATCH] get back to my image --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a213b50..3390902 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,16 +22,16 @@ name: deploy steps: - name: hugo-rsync-deploy pull: always - image: instrumentisto/rsync-ssh + image: immawanderer/archlinux-hugo commands: - - git submodule init || true - - git submodule update || true + - git submodule init + - git submodule update - #rm -rfv ./public - - hugo --gc=true --minify || true + - 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 + - rsync -ave 'ssh -vv -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 + - shred -zuv -n 7 ~/hugo_deploy environment: HUGO_KEY: from_secret: hugo_key