From 0b8adc8ca566d256bda4a95d57ec3ebb5ab064f2 Mon Sep 17 00:00:00 2001 From: delavega4 Date: Tue, 26 Jan 2021 17:57:22 -0600 Subject: [PATCH] Remove Test PYPI --- .github/workflows/publish-to-test-pypi.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 905d3d7..25cb16b 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -16,13 +16,8 @@ jobs: run: pip install wheel - name: Build wheel run: python setup.py sdist bdist_wheel - - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file