- JDK 21 (to build content-generator)
Generator to create a site by content from text files using templates added as Git submodule to a current project
git submodule init
git submodule update
cd github-pages-content-generator
./mvnw clean install
- Modify files in src folder to change content
- Modify templates in template folder (only) if you need to change view templates
- Run generate.bat. It will delete and regenerate *.html files
- Use index.html locally or:
- Commit changes to the repository to deploy them into the web. One minute after, when GH workflow finished, updated site will be available by original link
Instead of generate & commit steps, you could use generate-n-commit-n-push.bat script