add minus-r option to rsync
This commit is contained in:
parent
5170bc6246
commit
8d9ededd71
2
publish
2
publish
@ -10,6 +10,6 @@ hugo # build the new site
|
|||||||
echo "Set deploy site ownership..."
|
echo "Set deploy site ownership..."
|
||||||
sudo chown -R www-data:www-data ./public # set the ownership before transfer
|
sudo chown -R www-data:www-data ./public # set the ownership before transfer
|
||||||
echo "Rsync to host..."
|
echo "Rsync to host..."
|
||||||
rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com
|
rsync --super -avhr -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com
|
||||||
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
|
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user