mcornick.com source
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.
 
 
 
 

9 lines
228 B

#!/bin/sh -e
ssh="ssh -o StrictHostKeyChecking=no"
rm -rf public
hugo --quiet
chmod -R ug+w public
find public -type d -exec chmod g+s {} \;
rsync --rsh="$ssh" --quiet -a public/ mcornick@ns2.conhugecorp.com:/srv/www/mcornick