We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad9ceb9 commit 1e16a2eCopy full SHA for 1e16a2e
.github/workflows/publish-to-pypi.yml
@@ -55,7 +55,7 @@ jobs:
55
run: python -m build
56
57
- name: Publish package to PyPI
58
- if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.head_ref == 'test-1' }}
+ if: ${{ github.ref == 'refs/heads/test-1' && github.event_name == 'push' }}
59
uses: pypa/gh-action-pypi-publish@release/v1
60
with:
61
skip-existing: true
0 commit comments