Updates the gh-pages-deploy.yml workflow to include an step to perform pdf generation with docfx.
It also removes the manual trigger on for the workflow as it is no longer needed.
Why should this Pull Request be merged?
This step is required for the download PDF button on the hosted GitHub pages site to work. Currently, it will return 404 page not found, since the PDF files are not being generated by the build step alone.
What does this Pull Request accomplish?
Updates the gh-pages-deploy.yml workflow to include an step to perform pdf generation with docfx.
It also removes the manual trigger on for the workflow as it is no longer needed.
Why should this Pull Request be merged?
This step is required for the download PDF button on the hosted GitHub pages site to work. Currently, it will return 404 page not found, since the PDF files are not being generated by the build step alone.
Reference: https://dotnet.github.io/docfx/docs/pdf.html
What testing has been done?
Manually tested this on VM, the added
docfx pdf
command generates the PDFs for the_site
files as expected.