Repository navigation
Removes force_orphan from docs deploy on main - #6151
Conversation
Greptile SummaryRemoves
Confidence Score: 5/5Safe to merge — the one-line deletion directly unblocks the failing nightly deploy and is consistent with the identical change already shipping on the develop branch. The change is a single-line removal that aligns main with develop, where the same fix has been running without incident since #5853. keep_files: false is preserved, so deployed content is still fully replaced each run; the only difference is the gh-pages branch now retains cumulative commit history rather than being re-created as an orphan each time. No logic paths or secrets handling are touched. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant Cron as Nightly Cron / workflow_dispatch
participant GHA as GitHub Actions
participant Build as build-multi-docs job
participant Deploy as deploy-docs job
participant GHP as gh-pages branch
Cron->>GHA: trigger (schedule / workflow_dispatch)
GHA->>Build: run build-multi-docs
Build->>Build: generate multi-version docs
Build->>GHA: upload docs-html artifact
GHA->>Deploy: run deploy-docs
Deploy->>GHA: download docs-html artifact
Note over Deploy,GHP: Before fix — force_orphan: true
Deploy--xGHP: git push --force (rejected: GH013 branch protection)
Note over Deploy,GHP: After fix — force_orphan removed
Deploy->>GHP: normal fast-forward push (accepted)
Reviews (1): Last reviewed commit: "Remove force_orphan: true from docs push" | Re-trigger Greptile |
# Description The nightly docs deploy on `main` fails at the `Deploy to gh-pages` step because `force_orphan: true` makes `peaceiris/actions-gh-pages` publish an orphan branch with `git push --force`, which the repo's "Block force pushes" branch rule rejects (`GH013`). This removes `force_orphan: true` so the action uses a normal fast-forward push, matching the deploys that currently succeed. This is the same fix @kellyguo11 already applied to `develop` in isaac-sim#5853, which never landed on `main`. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
The nightly docs deploy on
mainfails at theDeploy to gh-pagesstep becauseforce_orphan: truemakespeaceiris/actions-gh-pagespublish an orphan branch withgit push --force, which the repo's "Block force pushes" branch rule rejects (GH013).This removes
force_orphan: trueso the action uses a normal fast-forward push, matching the deploys that currently succeed. This is the same fix @kellyguo11 already applied todevelopin #5853, which never landed onmain.Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there