automated doc upload

This commit is contained in:
Paul Müller 2015-09-07 08:45:51 +02:00
parent da594a0ee9
commit c9532622a8

View file

@ -72,10 +72,6 @@ os.chdir("gh_pages")
sp.check_output("echo 'https://${GH_TOKEN}:@github.com' > .git/credentials", shell=True)
sp.check_output("git add --all ./*", shell=True)
try:
sp.check_output("git commit -a -m 'travis bot build {} [ci skip]'".format(os.getenv("TRAVIS_COMMIT")), shell=True)
except:
pass #nothing to do
else:
sp.check_output("git push --force --quiet origin gh-pages", shell=True)
sp.check_output("git commit -a -m 'travis bot build {} [ci skip]'".format(os.getenv("TRAVIS_COMMIT")), shell=True)
sp.check_output("git push --force --quiet origin gh-pages", shell=True)