In .github/workflows/docs-build.yml, the "Write PR number metadata" step saves the PR number to _meta/pr_number.txt inside the doxygen-html artifact. The comment in the workflow says: "Write the PR number into the artifact so the deploy workflow can read it back."
However, I don't see a corresponding deploy workflow that consumes this artifact and posts a preview link or deploys to GitHub Pages. Was this intentional - i.e. is a docs-deploy.yml workflow planned? If so, I'd like to implement it.
My proposed approach:
- New workflow docs-deploy.yml triggered by workflow_run on docs-build
- Downloads the artifact, reads the PR number from _meta/pr_number.txt
- Posts a comment on the PR with a link to the uploaded artifact or a Pages preview
Happy to discuss the approach before writing code.
In .github/workflows/docs-build.yml, the "Write PR number metadata" step saves the PR number to _meta/pr_number.txt inside the doxygen-html artifact. The comment in the workflow says: "Write the PR number into the artifact so the deploy workflow can read it back."
However, I don't see a corresponding deploy workflow that consumes this artifact and posts a preview link or deploys to GitHub Pages. Was this intentional - i.e. is a docs-deploy.yml workflow planned? If so, I'd like to implement it.
My proposed approach:
Happy to discuss the approach before writing code.