Skip to content

Commit 35d19fa

Browse files
committed
Run docs deploy without project sync
* Run docs deploy without project sync Tag-triggered docs deploys can run in metadata-only mode after the release branch has already populated /vX.Y/. In that mode the workflow skips build_lib.py, so invoking deploy_doc.py through a normal uv project run tries to install warp-lang before native libraries exist. Run the stdlib-only deploy script outside project discovery so metadata-only tag pushes can update /stable/, redirects, and versions.json without requiring a redundant Warp build. Signed-off-by: Eric Shi <ershi@nvidia.com> Approved-by: Eric Shi <ershi@nvidia.com> See merge request omniverse/warp!2456
1 parent 8265c43 commit 35d19fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/sphinx.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,7 @@ jobs:
114114
if [[ "${{ steps.dv.outputs.metadata_only }}" == "true" ]]; then
115115
flag="--metadata-only"
116116
fi
117-
uv run tools/ci/deploy_doc.py --version "${{ steps.dv.outputs.version }}" $flag
117+
# Metadata-only tag deploys skip build_lib.py, so avoid syncing the
118+
# Warp project before running this stdlib-only script.
119+
uv run --no-project tools/ci/deploy_doc.py --version "${{ steps.dv.outputs.version }}" $flag
118120
git push origin gh-pages

0 commit comments

Comments
 (0)