testing
This commit is contained in:
parent
1587b6fd56
commit
81c0d28b3b
@ -8,11 +8,13 @@ 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
|
||||||
|
chown -R gmgauthier:www-data ./public/*
|
||||||
|
|
||||||
echo "COPY THE FILES..."
|
echo "COPY THE FILES..."
|
||||||
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 "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"
|
||||||
echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
|
echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
|
||||||
|
|
||||||
# remove the old build
|
# remove the old build
|
||||||
|
Loading…
Reference in New Issue
Block a user