Skip to content

Commit

Permalink
Sets generated-doc to conditionally render README
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszmajsak authored Mar 24, 2017
1 parent a43c316 commit 05648ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ before_script: ./mvnw install -q -U -DskipTests=true
script:
- ./mvnw clean test
- 'if [ $FORCE_DOC_GEN == 0 ] || [ $GENERATE_DOC == 0 ]; then
docker run -v $TRAVIS_BUILD_DIR:/docs/ --name adoc-to-html rochdev/alpine-asciidoctor:mini asciidoctor /docs/README.adoc -a asciidoctor-source=/docs/docs -o /docs/gh-pages/index.html;
docker run -v $TRAVIS_BUILD_DIR:/docs/ --name adoc-to-html rochdev/alpine-asciidoctor:mini asciidoctor /docs/README.adoc -a generated-doc=true -a asciidoctor-source=/docs/docs -o /docs/gh-pages/index.html;
fi'

after_success:
Expand Down

0 comments on commit 05648ee

Please sign in to comment.