From 6980550c9b1bbec30ccfc4cb83497d2fd1b2c715 Mon Sep 17 00:00:00 2001 From: Martin Erzberger Date: Fri, 4 Dec 2020 19:47:12 +0100 Subject: [PATCH] Abort the production release when doing a pre-release --- .github/workflows/pythonpublish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 0c562c7..a61451f 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -5,7 +5,8 @@ on: types: [published] jobs: - deploy-test: + deploy: + if: "!github.event.release.prerelease" runs-on: ubuntu-latest steps: - uses: actions/checkout@v1