From 4370e23ef3adaec0930e6567699170e4db07def1 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Tue, 6 Dec 2022 11:10:13 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4568ccc179c..528e5e41ebd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,7 +69,7 @@ jobs: deploy-public: name: Deploy public needs: [install-build] - if: github.head_ref == '' + if: github.event.pull_request.true == false && github.head_ref != '' uses: ./.github/workflows/deploy.yml with: cache_sha: ${{ github.event.pull_request.head.sha || github.sha }}