diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 09665f3..fb75642 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,17 +1,17 @@ name: Publish Python package to PyPI on: - # Action currently disabled to only push to TestPyPI for now - - #push: - # tags: - # - '*' + push: + branches: + - master + tags: + - '*' jobs: publish: name: Publish to PyPI runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') # Only run on tagged commits + if: false && startsWith(github.ref, 'refs/tags/') # Only run on tagged commits steps: - name: Check out code diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index b348845..2afd464 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,6 +1,8 @@ name: Publish Python package to TestPyPI on: + branches: + - master push: tags: - '*'