Skip to content

Commit

Permalink
Remove the push requirement for a release
Browse files Browse the repository at this point in the history
  • Loading branch information
hugohadfield committed Jul 5, 2021
1 parent 0c1d12f commit bfc4290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
name: dist
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit bfc4290

Please sign in to comment.