diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5a219f0..66f437b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,7 @@ jobs: .tox/${{ matrix.tox_env }}/bin/python setup.py sdist bdist_wheel - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - if: github.event_name == 'released' + if: github.event_name == 'release' with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}