Fix ghp-import
This commit is contained in:
parent
d91fb23b16
commit
b793f72732
|
@ -7,6 +7,8 @@ script: nikola build
|
||||||
after_success: |
|
after_success: |
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
virtualenv -p python2.7 /tmp/venv &&
|
||||||
|
. /tmp/venv/bin/activate &&
|
||||||
pip install ghp-import &&
|
pip install ghp-import &&
|
||||||
ghp-import -n output
|
ghp-import -n output &&
|
||||||
git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages >/dev/null 2>&1
|
||||||
|
|
Loading…
Reference in New Issue