From ad06cfb43dda1c4251c1ffe333996fe1a023ef44 Mon Sep 17 00:00:00 2001 From: Richard Wesley <13156216+hawkfish@users.noreply.github.com> Date: Mon, 16 Aug 2021 16:36:10 -0700 Subject: [PATCH] Fix release token name --- .github/workflows/publish-to-teste-pypi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-teste-pypi.yml b/.github/workflows/publish-to-teste-pypi.yml index 66738cd..bb19635 100644 --- a/.github/workflows/publish-to-teste-pypi.yml +++ b/.github/workflows/publish-to-teste-pypi.yml @@ -40,6 +40,7 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish distribution package to PyPI + if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: - password: ${{ secrets.PYPI_TOKEN }} + password: ${{ secrets.PYPI_API_TOKEN }}