Skip to content

Commit e407993

Browse files
committed
Use the real branch names.
1 parent 79b8870 commit e407993

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ install:
3535
script:
3636
- |
3737
if [ "$TEST_TYPE" = build_website ]; then
38-
if [ "$TRAVIS_BRANCH" = "docs-playground" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
38+
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
3939
echo "Building the web."
4040
nvm install 4.0
4141
4242
GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/docs/public
4343
git config --global user.name "Travis CI"
4444
git config --global user.email "[email protected]"
45-
git clone --branch gh-pages-seg --depth=50 \
45+
git clone --branch gh-pages --depth=50 \
4646
https://[email protected]/graphql-python/graphene.git \
4747
$GH_PAGES_DIR
4848
cd docs
@@ -54,7 +54,7 @@ script:
5454
if ! git diff-index --quiet HEAD --; then
5555
git add -A .
5656
git commit -m "Rebuild website"
57-
git push "https://${GITHUB_TOKEN}@github.com/graphql-python/graphene.git" gh-pages-seg
57+
git push "https://${GITHUB_TOKEN}@github.com/graphql-python/graphene.git" gh-pages
5858
fi
5959
exit
6060
fi

0 commit comments

Comments
 (0)