From 49c9b538c79bd27fd0b89c7340622214a7011bbe Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Mon, 26 Sep 2022 08:54:46 -0400 Subject: [PATCH] Update main.yml Add condition to only deploy on merged == false --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 302d0d219b6..ac6225539d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ on: jobs: build: + if: github.event.pull_request.merged == false name: Develop build for demo files uses: ./.github/workflows/build.yml with: @@ -17,6 +18,7 @@ jobs: deploy-pages: needs: [build] + if: github.event.pull_request.merged == false name: Deploy the files uses: ./.github/workflows/deploy.yml with: