File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ install:
35
35
script :
36
36
- |
37
37
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
39
39
echo "Building the web."
40
40
nvm install 4.0
41
41
42
42
GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/docs/public
43
43
git config --global user.name "Travis CI"
44
44
git config --global user.email "[email protected] "
45
- git clone --branch gh-pages-seg --depth=50 \
45
+ git clone --branch gh-pages --depth=50 \
46
46
https://[email protected] /graphql-python/graphene.git \
47
47
$GH_PAGES_DIR
48
48
cd docs
@@ -54,7 +54,7 @@ script:
54
54
if ! git diff-index --quiet HEAD --; then
55
55
git add -A .
56
56
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
58
58
fi
59
59
exit
60
60
fi
You can’t perform that action at this time.
0 commit comments