Skip to content

Commit 4b333c1

Browse files
authored
Fix detection of tagged release
1 parent 412f383 commit 4b333c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build package
3131
run: python -m build --sdist --wheel --outdir dist/
3232
- name: Publish package
33-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
33+
if: startsWith(github.ref, 'refs/tags')
3434
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3535
with:
3636
user: __token__

0 commit comments

Comments
 (0)