This commit is contained in:
parent
90ea8b03fd
commit
5afe276a2c
@ -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 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -c aes256-ctr,aes256-cbc -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir
|
||||
- rsync -ave 'ssh -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 7 hugo_deploy || true
|
||||
when:
|
||||
status:
|
||||
|
Loading…
Reference in New Issue
Block a user