Skip to content

Commit

Permalink
☁️ Publish to PyPI on release
Browse files Browse the repository at this point in the history
  • Loading branch information
danyi1212 committed Dec 2, 2021
1 parent 6013397 commit d3145f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
skip_existing: true

- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit d3145f8

Please # to comment.