From d3145f886a309d7f30e8202f02cfd70570609460 Mon Sep 17 00:00:00 2001 From: Dan Yishai Date: Thu, 2 Dec 2021 21:44:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=98=81=EF=B8=8F=20Publish=20to=20PyPI=20on?= =?UTF-8?q?=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-to-test-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 5f154b9..0ce26a8 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -32,7 +32,7 @@ jobs: skip_existing: true - name: Publish distribution 📦 to PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file