Skip to content

Commit 75a1d30

Browse files
committed
Publish on pypi on release event, not push
1 parent 16e7902 commit 75a1d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
path: ./dist
6767

6868
- name: Push release to PyPI
69-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
69+
if: github.event_name == 'release'
7070
uses: pypa/gh-action-pypi-publish@master
7171
with:
7272
user: __token__

0 commit comments

Comments
 (0)