This commit is contained in:
Greg Gauthier 2021-12-28 13:37:10 +00:00
parent 3a3ce2b4da
commit 1587b6fd56

View File

@ -9,7 +9,7 @@ hugo
# push the files to the webserver # push the files to the webserver
# scp -rp * root@boethius:/hosting/sites/gmgauthier.com # scp -rp * root@boethius:/hosting/sites/gmgauthier.com
echo "COPY THE FILES..." echo "COPY THE FILES..."
rsync -avh -e ssh ./public/* gmgauthier@boethius:/hosting/sites/gmgauthier.com rsync --super -avh -e ssh ./public/* gmgauthier@boethius:/hosting/sites/gmgauthier.com
echo "SET OWNERSHIP TO APACHE" echo "SET OWNERSHIP TO APACHE"
echo "chown -R www-data:www-data /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash echo "chown -R www-data:www-data /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
echo "LIST FILES" echo "LIST FILES"