mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Changed from gh-pages-seg to gh-pages in travis
This commit is contained in:
parent
62d045301a
commit
aed366a3c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user