diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b29e197..ac4de7e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -47,3 +47,7 @@ jobs: path: dist - uses: pypa/gh-action-pypi-publish@release/v1 + if: github.event_name == 'release' && github.event.action == 'published' + with: + # Remember to tell (test-)pypi about this repo before publishing + repository-url: https://test.pypi.org/legacy/