From c9532622a89d634332d694f3c2c9a9ca89542736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Mon, 7 Sep 2015 08:45:51 +0200 Subject: [PATCH] automated doc upload --- doc/deploy_ghpages.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/deploy_ghpages.py b/doc/deploy_ghpages.py index f276f08..8086a62 100644 --- a/doc/deploy_ghpages.py +++ b/doc/deploy_ghpages.py @@ -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)