Skip to content

Commit

Permalink
deploy docs from things named "v*.*.*"
Browse files Browse the repository at this point in the history
  • Loading branch information
olgabot committed Nov 8, 2014
1 parent 396ebaa commit 28ebfe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ after_script:
- sudo pip install -r doc/requirements.txt --use-mirrors
- RELEASE=release
- MASTER=master
- if [[ $TRAVIS_BRANCH == "*$RELEASE*" ]] ; then export DEPLOY_HTML_DIR=docs ; fi
- if [[ $TRAVIS_BRANCH == "v*.*.*" ]] ; then export DEPLOY_HTML_DIR=docs ; fi
- if [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then export DEPLOY_HTML_DIR=docs-dev ; fi
- if [[ $TRAVIS_BRANCH == "*$RELEASE*" ]] || [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then cd doc ; make setup_gh_pages ; make generate ; make deploy ; fi
- if [[ $TRAVIS_BRANCH == "v*.*.*" ]] || [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then cd doc ; make setup_gh_pages ; make generate ; make deploy ; fi

# For slack notifications
notifications:
Expand Down

0 comments on commit 28ebfe7

Please sign in to comment.