From b793f7273239f479bccb2894cbe44c041bb56eb6 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Fri, 7 Apr 2017 12:02:07 -0400 Subject: [PATCH] Fix ghp-import --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff97e42..dd062c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ script: nikola build after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && + virtualenv -p python2.7 /tmp/venv && + . /tmp/venv/bin/activate && pip install ghp-import && - ghp-import -n output - git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages + ghp-import -n output && + git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages >/dev/null 2>&1