Skip to content

Commit 8f72dce

Browse files
committed
💚 Only try to push to PyPI on releases
1 parent f867b0f commit 8f72dce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎.github/workflows/ci-cd-pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
publish-on-testpypi:
3232
name: 📦 Publish on TestPyPI
33-
if: github.event_name == 'push'
33+
if: github.event_name == 'release'
3434
needs: build
3535
runs-on: ubuntu-latest
3636
steps:
@@ -41,7 +41,6 @@ jobs:
4141
path: dist
4242
- name: 📦 Publish to index
4343
uses: pypa/gh-action-pypi-publish@master
44-
continue-on-error: true
4544
with:
4645
password: ${{ secrets.testpypi_password }}
4746
repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)