Skip to content

Commit

Permalink
Build the doc when pushing a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Jan 6, 2019
1 parent f3ab1e2 commit fdf00fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
script:
- git clone --depth=1 --branch=build https://github.com/Erebot/erebot.github.io.git docs/trigger
- "export TRIGGER_DOC_BUILD=$( (git show --pretty=format: --name-only $TRAVIS_COMMIT | grep -q '^docs/' && echo 1) || echo 0 )"
- if [ -n "$TRAVIS_TAG" ]; then export TRIGGER_DOC_BUILD=1; fi
- if [ $TRAVIS_PULL_REQUEST != "false" ]; then export TRIGGER_DOC_BUILD=0; fi
deploy:
provider: pages
Expand Down

0 comments on commit fdf00fa

Please sign in to comment.