From e762c49e1f47a179954396bc4bf6e303d5d79074 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 14 Feb 2024 19:39:35 +0000 Subject: [PATCH] publish script fixes --- publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish b/publish index 2ec0da3..e7f923d 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 www-data:www-data ./public/* # set the ownership before transfer +sudo chown -R gmgauthier: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