The website.
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.

17 lines
347 B

set -e
if [ ! -f ] ; then
echo "must be run from main directory!"
exit 1
make clean; make html
read -r -p "Are your sure to update live [y/N]?" resp
case $resp in
[yY][eE][sS]|[yY] )
scp -r build/html/* pyrocko@hive:/var/www/;
* )