From 6d93601629f33f5392b63c975aac8182f452dd08 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 28 Dec 2021 13:55:53 +0000 Subject: [PATCH] testing --- publish.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/publish.sh b/publish.sh index 62d9f30..ad320c6 100755 --- a/publish.sh +++ b/publish.sh @@ -8,13 +8,10 @@ hugo # push the files to the webserver # scp -rp * root@boethius:/hosting/sites/gmgauthier.com -#chown -R gmgauthier:www-data ./public/* +sudo chown -R www-data:www-data ./public/* echo "COPY THE FILES..." rsync --super -avh -e ssh ./public/* gmgauthier@boethius:/hosting/sites/gmgauthier.com -#echo "SET OWNERSHIP TO APACHE" -#echo "chown -R www-data:www-data /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash -#echo "LIST FILES" echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash # remove the old build