diff --git a/.github/workflows/publish-pypi.yaml b/.github/workflows/publish-pypi.yaml index 5e32537..7f52be2 100644 --- a/.github/workflows/publish-pypi.yaml +++ b/.github/workflows/publish-pypi.yaml @@ -34,8 +34,7 @@ jobs: python -m poetry build twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* - - name: Publish to PyPI (if it's a new tag) - if: startsWith(github.ref, 'refs/tags/') + - name: Publish to PyPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}