Changed from gh-pages-seg to gh-pages in travis

This commit is contained in:
Syrus Akbary 2015-11-26 02:36:15 -08:00
parent 62d045301a
commit aed366a3c7

View File

@ -39,7 +39,7 @@ script:
GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/docs/public
git config --global user.name "Travis CI"
git config --global user.email "travis@graphene-python.org"
git clone --branch gh-pages-seg --depth=50 \
git clone --branch gh-pages --depth=50 \
https://graphql-python-bot@github.com/graphql-python/graphene.git \
$GH_PAGES_DIR
cd docs
@ -49,7 +49,7 @@ script:
if ! git diff-index --quiet HEAD --; then
git add -A .
git commit -m "Rebuild website"
git push "https://${GITHUB_TOKEN}@github.com/graphql-python/graphene.git" gh-pages-seg
git push "https://${GITHUB_TOKEN}@github.com/graphql-python/graphene.git" gh-pages
fi
exit
fi