Add a build script

This assumes there's another repo that has checked out `gh-pages`
branch.