You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reusable-docs-publish: support deploying with GitHub Pages actions instead of a gh-pages branch #533
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: ciChanges to CI workflows, actions, or build pipelinestype: enhancementAn improvement to existing functionality without adding a new feature
reusable-docs-publish.yml (and the packaging-docs/docs.yml template) can only publish by pushing the built folder to a gh-pages branch. That needs Pages set to "Deploy from a branch", a bot-pushed branch in every repo, and a first publish before the branch exists to point Pages at.
GitHub's own deployment path doesn't need any of that: actions/configure-pages, actions/upload-pages-artifact and actions/deploy-pages, with Pages source set to "GitHub Actions". This repo already deploys its own site that way in .github/workflows/local-pages.yml.
CLDMV/uuid needs it now for a generated reference page (npm run docs:build → docs/dist). Its docs.yml copies the build-and-deploy job pair from local-pages.yml with the org's checkout, setup-node and install-dependencies actions, because the reusable workflow can't do it (CLDMV/uuid#125).
Suggested change:
a deploy_mode input on reusable-docs-publish.yml: branch (today's behaviour, default) or pages;
in pages mode: run configure-pages before the build, upload output_dir with upload-pages-artifact, and add a deploy job with pages: write, id-token: write and the github-pages environment that runs deploy-pages. No bot token or gh-pages branch is needed;
the caller template documents that pages mode needs pages: write and id-token: write on the calling job, and Pages source set to "GitHub Actions";
optionally have v4-bootstrap set the Pages source (build_type: workflow) for repos that carry docs.yml, so nobody has to change it by hand.
Once it ships, CLDMV/uuid's docs.yml can switch to the reusable workflow.
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: ciChanges to CI workflows, actions, or build pipelinestype: enhancementAn improvement to existing functionality without adding a new feature
Activity
feat(docs-publish): add a pages deploy mode using the GitHub Pages ac…
cldmv-bot commentedon Nov 25, 2026
Marked
status: implemented— resolved by #534, merged intonext. This issue closes automatically when that work ships to the default branch.release: v4.43.0 - add a pages deploy mode using the GitHub Pages…