Skip to content

Commit

Permalink
Update deploying.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xgarrido authored Mar 26, 2024
1 parent 07b41c3 commit 490fdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploying.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
retention-days: 1

upload_pypi:
if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
needs: [deploy]
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 490fdb8

Please sign in to comment.