diff --git a/publish.sh b/publish similarity index 87% rename from publish.sh rename to publish index 6afcde2..2e184a3 100755 --- a/publish.sh +++ b/publish @@ -3,7 +3,7 @@ # commit and push... git add .;git commit -m"$@";git push -u origin master -rm -R public # destroy the old build first +sudo rm -R public # destroy the old build first hugo # build the new site sudo chown -R gmgauthier:www-data ./public/* # set the ownership before transfer