Skip to content

Commit 191cd36

Browse files
committed
feat: Add workflow_dispatch for manual testing of TestPyPI deployment
1 parent 182f671 commit 191cd36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: [ main ]
88
release:
99
types: [ published ]
10+
workflow_dispatch:
1011

1112
jobs:
1213
lint-and-type-check:
@@ -483,7 +484,7 @@ jobs:
483484
test-pypi-publish:
484485
name: Test PyPI Publishing (TestPyPI)
485486
runs-on: ubuntu-latest
486-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
487+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
487488
needs: [lint-and-type-check, test, build, integration-tests]
488489
environment: test-pypi
489490

0 commit comments

Comments
 (0)