diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 6432bba..be5f289 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -1,8 +1,11 @@ name: Publish tag to Pypi on: - release: - types: [published] + workflow_dispatch: + + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' permissions: contents: read # to fetch code (actions/checkout) @@ -98,4 +101,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }}