fix ssh priv key perms
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
surtur 2020-03-08 05:55:24 +01:00
parent 42c23f6895
commit 7308c91b34
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -38,6 +38,7 @@ steps:
- rm -rfv ./public - rm -rfv ./public
- hugo --gc=true --minify - hugo --gc=true --minify
- echo $hugo_key > hugo_deploy - echo $hugo_key > hugo_deploy
- chmod -v 600 hugo_deploy #hellyeah
- rsync -ave 'ssh -i ./hugo_deploy -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir - rsync -ave 'ssh -i ./hugo_deploy -o StrictHostKeyChecking=no' --delete public/ $hugo_user@$hugo_host:$hugo_dir
- shred -zuv 7 hugo_deploy || true - shred -zuv 7 hugo_deploy || true
when: when: