From 2cea214e865f6ec3a34c048797d5e98e4d8f6b98 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 30 Oct 2014 23:21:40 +0100
Subject: [PATCH] Ignore return value of commit (not push).
---
Makefile.gh-pages | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.gh-pages b/Makefile.gh-pages
index d9d1c1165..10ee4583b 100644
--- a/Makefile.gh-pages
+++ b/Makefile.gh-pages
@@ -15,6 +15,6 @@ ifdef GH_TOKEN
cd $(GH_PAGES) && mkdir doc
cp html/*.* $(GH_PAGES)/doc
cd $(GH_PAGES) && git add -A doc
- cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
- -cd $(GH_PAGES) && git push
+ -cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
+ cd $(GH_PAGES) && git push
endif