Skip to content

Commit

Permalink
Need to fetch gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Dec 28, 2014
1 parent c0a844d commit cc3167d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ deploy:
all_branches: true

after_deploy:
- git checkout gh-pages
- git fetch git://github.com/$TRAVIS_REPO_SLUG gh-pages
- git checkout -b gh-pages FETCH_HEAD
- mv target/doc docs/$TRAVIS_TAG
- git add docs/$TRAVIS_TAG
- git commit -m "Add API docs for $TRAVIS_TAG"
Expand Down

0 comments on commit cc3167d

Please sign in to comment.