Generate the site
Generate the site with JBake:
Push to GitHub pages
Commit generate the site and push it to github pages:
Do not forget to provide your GitHub credentials in your
See GitHub Maven Plugins for more information.
Single step run
exec-maven-plugin is used to run the
mvn command with a list of arguments.
Those arguments correspond to the different goals that are requested to generate site and upload it.
To use this possibility and run everything within a single step:
Reusing this sample project
This setup can be reused for your own website/blog. You can copy it and adapt it to your website.
Change the maven
Change the properties
finalNameat the beginning of the
If your GitHub pages needs to commit on the
masterbranch, adapt the