Skip to content

Commit cc3167d

Browse files
committed
Need to fetch gh-pages branch
1 parent c0a844d commit cc3167d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ deploy:
2424
all_branches: true
2525

2626
after_deploy:
27-
- git checkout gh-pages
27+
- git fetch git://github.com/$TRAVIS_REPO_SLUG gh-pages
28+
- git checkout -b gh-pages FETCH_HEAD
2829
- mv target/doc docs/$TRAVIS_TAG
2930
- git add docs/$TRAVIS_TAG
3031
- git commit -m "Add API docs for $TRAVIS_TAG"

0 commit comments

Comments
 (0)