commit 10bfadbfa8ebc4efc98f087b8abd9f68ab727045
parent 1a5b6eea0313fcaed36cb09b4b0c1bb31844a626
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 21 Mar 2017 01:44:37 +0100
Fix script
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/auto-push-gh-pages.sh b/auto-push-gh-pages.sh
@@ -42,5 +42,6 @@ else
#echo 'document.write("<script src=\"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default\"></script>");' > $TRAVIS_GH_PAGES_DIR/MathJax/MathJax.js
touch $TRAVIS_GH_PAGES_DIR/.nojekyll
(cd $TRAVIS_GH_PAGES_DIR && git add -A . && git commit -m "Auto-publish to gh-pages")
+ echo '(cd '"$TRAVIS_GH_PAGES_DIR"'; git push --force --quiet "https://git@github.com/jsmaniac/phc-thesis.git" master:gh-pages)'
(cd $TRAVIS_GH_PAGES_DIR; git push --force --quiet "https://git@github.com/jsmaniac/phc-thesis.git" master:gh-pages >/dev/null 2>&1 || true) >/dev/null 2>&1 # redirect to /dev/null to avoid showing credentials.
fi
\ No newline at end of file