Skip to content

Commit

Permalink
Deploy to test pypi only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Nov 28, 2023
1 parent f4710c1 commit 59004f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Expand Up @@ -81,7 +81,7 @@ jobs:
name: wheels
path: dist
- name: Publish package to Test PyPI
if: github.event.action != 'published' && github.event_name == 'push'
if: github.event.action != 'published' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@v1.8.10
with:
user: __token__
Expand Down

0 comments on commit 59004f0

Please sign in to comment.