attempt to fix ownership again

This commit is contained in:
Greg Gauthier 2025-01-15 10:44:08 +00:00
parent 293acb6fa0
commit 5170bc6246

View File

@ -8,7 +8,7 @@ rm -rf public # destroy the old build first
echo "Generate new deploy site..."
hugo # build the new site
echo "Set deploy site ownership..."
sudo chown -R gmgauthier: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..."
rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/var/www/ataricode.com
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash