This tutorial shows how to:
- Start a Java Maven project from scratch
- Add Asciidoctor capabilities
- Add Github pages configuration
- Add Travis CI configuration
- Build and test the project on each commit or Pull Request.
- Automatic deployment of the Github Pages website.
mvn clean install
Generated files can be found in target/generated-docs
The project is configured with Travis CI to deploy the website: https://cesarhernandezgt.github.io/book-demo-asciidoctor/
.travis.yml
contains the configuration to execute the following tasks:
- Build and test the project on each commit or Pull Request.
- Copy the content Github Pages configuration files into
target/generated-docs
- Deploy Github Pages base on the content of
target/generated-docs
- Notify
Travis dashboard: https://travis-ci.org/cesarhernandezgt/book-demo-asciidoctor
- Java
- maven
- Asciidoctor
- Travis
- Github pages