From 40ed6fb7f79647b84ceb0c3d5a5a4f29a78e36cd Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Sat, 16 Dec 2023 18:57:29 -0800 Subject: [PATCH] Only push to testpypi on push to main --- .github/workflows/package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 39cbd54..d6c550a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -20,6 +20,7 @@ jobs: name: Upload release to TestPyPI needs: [package] runs-on: ubuntu-latest + if: github.event_name == 'push' environment: name: testpypi url: https://test.pypi.org/p/tilekiln