Migrate docs deployment to Pages artifacts on main#6612
Conversation
Backport the Pages artifact deployment workflow to main so the production nightly documentation job can use the new publishing path. This avoids committing generated documentation to the gh-pages branch.
Greptile SummaryThis PR migrates the production docs deployment from pushing to a
Confidence Score: 5/5Safe to merge after an administrator switches the Pages source to "GitHub Actions" in repository settings. The change is a straightforward, well-understood migration to the canonical GitHub-native Pages deployment pattern. Permissions are correctly scoped to the deploy job only, the No files require special attention; the single changed file is a focused, minimal CI workflow update. Important Files Changed
Reviews (1): Last reviewed commit: "Migrate docs deployment to Pages artifac..." | Re-trigger Greptile |
Description
Backport #6571 from
developtomainso the production documentationworkflow can deploy through GitHub Pages artifacts.
The current nightly workflow commits the complete generated multi-version
site to
gh-pages. That branch contributes approximately 656 MiB ofcompressed Git data and accounts for most of the repository clone payload.
This change uploads the generated site with
actions/upload-pages-artifactand publishes it with
actions/deploy-pagesinstead.Documentation content, URLs, and multi-version behavior are unchanged. After
this merges, a repository administrator must set the Pages source to GitHub
Actions, run the Docs workflow once from
main, verify the deployment, andthen delete
gh-pagesafter the rollback window.Type of change
Validation
./isaaclab.sh -fbefore committing; all hooks passed../isaaclab.sh -fagain after committing and before pushing; all hookspassed.
https://github.com/kellyguo11/IsaacLab-public/actions/runs/29675383308.
branches/tags, and static assets.
Checklist
./isaaclab.sh -f.end-to-end in the fork.