This commit is contained in:
parent
42c23f6895
commit
7308c91b34
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user