From 55649dd005e50783c13fed14d580872311dbfbce Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 15 Jan 2025 11:06:54 +0000 Subject: [PATCH] don't change ownership --- publish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/publish b/publish index eb02bd5..e637ea1 100755 --- a/publish +++ b/publish @@ -7,9 +7,9 @@ echo "Remove old deploy site..." 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 www-data:www-data ./public # set the ownership before transfer +#echo "Set deploy site ownership..." +#sudo chown -R www-data:www-data ./public # set the ownership before transfer 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