Update demo.sh rsync command [skip ci]

This commit is contained in:
BBaoVanC 2021-11-25 17:54:53 -06:00
parent 672bfae812
commit cab56bd859
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh -x
rm -rf public/
HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo -D --baseURL "https://demo.bbaovanc.com/test/$1"
rsync -atvPzc --delete public/ bbaosrv:/var/www/demo.bbaovanc.com/test/$1/
rsync -avPzc --delete-delay public/ bbaosrv:/var/www/demo.bbaovanc.com/test/$1/