Skip to content

Commit 5ac30b1

Browse files
[ci] Publish docs only if installation test succeeds
The test-installation step failing means that it is not possible to install this python package on all-architectures. It is best not to update published docs for a version that does not satisfy the requirement of being installable on all intended target architectures. Note that the test-installation step runs only if the build step is successful. Signed-off-by: Tiyash Basu <[email protected]>
1 parent 3b65d59 commit 5ac30b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146

147147
publish-docs:
148148
name: Publish documentation website to GitHub pages
149-
needs: ["nox", "build"]
149+
needs: ["nox", "test-installation"]
150150
if: github.event_name == 'push'
151151
runs-on: ubuntu-20.04
152152
permissions:

0 commit comments

Comments
 (0)