From e0b2c13b41d5808ef52e9a6a8ef1fda6d0e554e2 Mon Sep 17 00:00:00 2001 From: Egor Spirin Date: Mon, 1 Mar 2021 19:57:44 +0300 Subject: [PATCH] Publish to pypi in case of releasing --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f88c2dd..1d51a08 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,7 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: password: ${{ secrets.PYPI_API_TOKEN }}