Skip to content

Commit e0b2c13

Browse files
committed
Publish to pypi in case of releasing
1 parent 4457912 commit e0b2c13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
2828
repository_url: https://test.pypi.org/legacy/
2929
- name: Publish distribution 📦 to PyPI
30+
if: startsWith(github.ref, 'refs/tags')
3031
uses: pypa/gh-action-pypi-publish@master
3132
with:
3233
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)