publish script fixes
This commit is contained in:
parent
e0f9fab5d6
commit
fb1034669e
2
publish
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user