From 15382a44469710bec29bbb84ade4fbf2d2592ca4 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Sun, 14 Jan 2024 23:43:00 +0100 Subject: [PATCH] github-actions: restrict deploy job on release --- .github/workflows/test-and-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 66031525..bcce5587 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -213,6 +213,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos] + if: github.event_name == 'release' steps: - name: Checkout uses: actions/checkout@v4