diff --git a/.github/workflows/deploy-job.yml b/.github/workflows/deploy-job.yml index bcc5aa6..46aa37b 100644 --- a/.github/workflows/deploy-job.yml +++ b/.github/workflows/deploy-job.yml @@ -62,8 +62,13 @@ jobs: with: name: built-artifacts path: dist - - name: Publish package to Tet PyPI + - name: Publish package to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository-url: https://test.pypi.org/legacy/ + - name: Publish package to PyPI + if: github.ref == 'refs/heads/main' + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }}