Skip to content

Commit faa3d51

Browse files
committed
Updated CI.yml
1 parent 8a7f19a commit faa3d51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
publish:
159159
name: Publish to PyPI
160160
runs-on: ubuntu-latest
161-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' }}
161+
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' || github.event_name == 'release' }}
162162
needs: [linux_wheels, macos_wheels, windows_wheels, sdist, rust_tests, python_tests, docs]
163163
steps:
164164
- uses: actions/download-artifact@v4
@@ -234,7 +234,7 @@ jobs:
234234

235235
read_the_docs:
236236
name: Read the Docs trigger
237-
needs: [docs, publish]
237+
needs: [docs]
238238
runs-on: ubuntu-latest
239239
steps:
240240
- name: Trigger Read the Docs build

0 commit comments

Comments
 (0)