Skip to content

Instantly share code, notes, and snippets.

@moritz
Created April 17, 2012 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moritz/2409568 to your computer and use it in GitHub Desktop.
Save moritz/2409568 to your computer and use it in GitHub Desktop.
Update script for tablets.perl6.org
#!/bin/sh
echo
date
cd /var/www/tablets.perl6.org/
git-pull -q -n
[ -e html ] || mkdir html
cd docs
python build-html.py
cd /var/www/tablets.perl6.org/
rsync -a --delete docs/*.html docs/*.css html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment