From c51bc9633003e8f78c8715a72e3a03705920bb6b Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 14 Feb 2024 19:41:32 +0000 Subject: [PATCH] publish script fixes --- publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish b/publish index e7f923d..2ec0da3 100755 --- a/publish +++ b/publish @@ -5,7 +5,7 @@ git add .;git commit -m"$@";git push -u origin master rm -rf public # destroy the old build first hugo # build the new site -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 rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/var/www/gmgauthier.com # echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash