The docs preview upload was gated on the full pull workflow finishing with an overall success conclusion. Since pull runs ~100 jobs and is often cancelled by newer pushes or has an unrelated failing job, that rarely held for PRs, so previews were usually never published despite the docs building fine, and even when it did fire it waited for all of pull.
Move docs building into a standalone docs-build.yml and point upload-docs-preview.yml at workflow_run: [docs-build], so the preview publishes as soon as the docs finish. The success gate is kept but is now meaningful, since docs-build contains only the build and docs jobs. linux-docs is removed from pull.yml. This duplicates the gcc11 build, since a standalone workflow cannot reach pull's build artifact via needs:.
NOTE: linux-docs / build-docs-python-false is likely a required status check; branch protection must be updated to the new docs-build check name or merges will block.
Authored with assistance from Claude Code.
Pull Request resolved: #185688
Approved by: https://github.com/huydhn
SOCIAL SHARE CARD GENERATOR