updated publish script to not error out if gh-pages branch does not exist