From 87739e575f9ed1210e2fb7844d28db129bc41bbe Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Mon, 27 Nov 2023 16:56:08 +0100 Subject: [PATCH] Do not deploy to test pypi on pull requests --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a9f26f0..d322907 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -81,7 +81,7 @@ jobs: name: wheels path: dist - name: Publish package to Test PyPI - if: github.event.action != 'published' + if: github.event.action != 'published' && github.event_name == 'push' uses: pypa/gh-action-pypi-publish@v1.8.10 with: user: __token__