Skip to content

Commit 03b4153

Browse files
authored
Skip docs deploy on tag CI runs (#3232)
Tag CI runs build-docs.yml with is-release: true and the default component: all, which previously deployed every subproject's versioned docs to gh-pages. On any tag push, the subprojects that happen to be on a .dev wheel at that moment leak truncated clean-looking X.Y.Z trees onto gh-pages (build_docs.sh strips the .dev suffix for cuda-bindings and cuda-pathfinder; cuda-core preserves it). release.yml already handles the component-scoped release deploy; tag CI only needs to validate the build. Refs #3231. Addresses review on #3232.
1 parent 7743220 commit 03b4153

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ jobs:
631631
uses: ./.github/workflows/build-docs.yml
632632
with:
633633
is-release: ${{ github.ref_type == 'tag' }}
634+
deploy-docs: ${{ github.ref_type != 'tag' }}
634635

635636
checks:
636637
name: Check job status

0 commit comments

Comments
 (0)