Development journal, published to https://gmgauthier.com/
https://gmgauthier.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
495 B
12 lines
495 B
#!/usr/bin/env sh
|
|
|
|
# commit and push...
|
|
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
|
|
|
|
rsync --super -avh -e ssh ./public/* gmgauthier@boethius:/hosting/sites/gmgauthier.com
|
|
# echo "ls -lA /hosting/sites/gmgauthier.com" | ssh gmgauthier@boethius /bin/bash
|
|
|
|
|