Skip to content

Commit 11ef206

Browse files
committed
fix: Only trigger test release manually.
1 parent dddd96d commit 11ef206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish
22

33
on:
4-
push:
4+
workflow_dispatch:
55
branches:
66
- main
77
release:
@@ -33,7 +33,7 @@ jobs:
3333
path: dist
3434
test-release:
3535
name: Publish release to Test PyPI
36-
if: github.event_name != 'release'
36+
if: github.event_name == 'workflow_dispatch'
3737
runs-on: ubuntu-latest
3838
needs: build
3939
environment:

0 commit comments

Comments
 (0)