fixing being a dicc; it's echo, not cat
Some checks failed
continuous-integration/drone/push Build is failing

* aka deploy is now functional
This commit is contained in:
surtur 2020-03-08 05:47:24 +01:00
parent b49ef0c526
commit 6c92524c4b
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -37,7 +37,7 @@ steps:
- git submodule update - git submodule update
- rm -rfv ./public - rm -rfv ./public
- hugo --gc=true --minify - hugo --gc=true --minify
- cat $hugo_key > hugo_deploy - echo $hugo_key > hugo_deploy
- rsync -avze 'ssh -i ~/hugo_deploy' --delete public/ $hugo_user@$hugo_host:$hugo_dir - rsync -avze 'ssh -i ~/hugo_deploy' --delete public/ $hugo_user@$hugo_host:$hugo_dir
- shred -zuv 7 hugo_deploy || true - shred -zuv 7 hugo_deploy || true
when: when: