commit 53d23f3bee96d301e819df6683f171e6b5840a35
parent f71b01316042fa842eb2ea437cfa1eca2ffd67e0
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 21 Mar 2017 01:56:58 +0100
Try to find the source of the push failure.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/auto-push-gh-pages.sh b/auto-push-gh-pages.sh
@@ -42,6 +42,7 @@ 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")
+ (cd $TRAVIS_GH_PAGES_DIR && git log --oneline --decorate --graph -10)
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) >/dev/null 2>&1 # redirect to /dev/null to avoid showing credentials.
(cd $TRAVIS_GH_PAGES_DIR; git push --force --quiet "https://git@github.com/jsmaniac/phc-thesis.git" master:gh-pages)