- JDK 21 (to build content-generator)
Generator to create a site by content from text file using templates added as Git submodule to a current project
git submodule init
git submodule update
cd github-pages-content-generator
./mvnw clean install
cd github-pages-content-generator
pull origin master
./mvnw clean install
- Modify content.txt to change content
- Modify template.html (only) if you need to change view template
- Run generate.bat. It will delete and regenerate index.html
- 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