improvements in the deploy script logic

This commit is contained in:
surtur 2020-02-17 23:51:14 +01:00
parent be63d93aa3
commit 640726ee9c
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

4
deploy
View File

@ -4,6 +4,8 @@ USER=dotyaoverlord
HOST=dotya.ml
DIR=public/
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR}
git subvolume init
git subvolume update
hugo --gc=true && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR}
exit 0