don't change ownership

This commit is contained in:
Greg Gauthier 2025-01-15 11:06:54 +00:00
parent 5d1f1f6ccc
commit 55649dd005

View File

@ -7,9 +7,9 @@ echo "Remove old deploy site..."
rm -rf public # destroy the old build first rm -rf public # destroy the old build first
echo "Generate new deploy site..." echo "Generate new deploy site..."
hugo # build the new site 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 -avhrO -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com rsync --super -avh -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