This can be changed so that it only regenerates when certain files that are used for generating PDFs are changed.
Probably this can be further improved to also run the script using GitHub Actions "strategy matrix" for the different files rather than hard coded in the gen-pdfs.sh file
Currently, I have set the PDF generator to be on a schedule of once per day.
https://github.com/NebraLtd/Helium-Guides/blob/main/.github/workflows/generate-pdfs.yml
This can be changed so that it only regenerates when certain files that are used for generating PDFs are changed.
Probably this can be further improved to also run the script using GitHub Actions "strategy matrix" for the different files rather than hard coded in the gen-pdfs.sh file