Pdf export of a #gdoc in a #GithubAction to deploy my static #getzola site was even easier than cleaning the HTML (https://knz.ai/posts/cleaning-gdocs).
Basically it boils down to a wget call to google drive file.export API with the file id and an api key in a secret: https://knz.ai/posts/gdoc-pdf-export/
