We shouldn't push the PDF file to the repo everytime it's generated to avoid bloating the git history.
We can use GitHub Actions to generate the PDF and host it via GitHub Packages.
We can use the build-and-deploy workflow from the devonfw.github.io repo as a starting point.