Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr authored Mar 21, 2018
1 parent 7fe7cb2 commit 2ec3fea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ script:
- if [[ $TRAVIS_BRANCH == 'master' ]] ; then cd /tmp/gh-pages/ && rm -rf !(v) && cd - && cp -R site/* /tmp/gh-pages/ ; fi
- if [[ $TRAVIS_BRANCH != 'master' ]] ; then rm -rf /tmp/gh-pages/v/$TRAVIS_BRANCH && mkdir -p /tmp/gh-pages/v/$TRAVIS_BRANCH/ && cp -R site/* /tmp/gh-pages/v/$TRAVIS_BRANCH/ ; fi
- git config user.name "Travis CI Documentation Builder"
- git config user.email "marius
[email protected]"
- git config user.email "[email protected]"
- cd /tmp/gh-pages && git add .
- git commit -m "Automated documentation build[ci skip]"
- git push --force "${GH_REF}" gh-pages:gh-pages

0 comments on commit 2ec3fea

Please sign in to comment.