This commit is contained in:
Greg Gauthier 2021-12-28 14:01:10 +00:00
parent 32ea1c0262
commit 491ed607a1

View File

@ -5,7 +5,7 @@ git add .;git commit -m"$@";git push -u origin master
rm -R public # destroy the old build first rm -R public # destroy the old build first
hugo # build the new site 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@boethius:/hosting/sites/gmgauthier.com rsync --super -avh -e ssh ./public/* gmgauthier@boethius:/hosting/sites/gmgauthier.com
echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash