improvements in the deploy script logic
This commit is contained in:
parent
be63d93aa3
commit
640726ee9c
4
deploy
4
deploy
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user