added bash script to build docs and update the gh-pages branch.