From b0c1d6d30d38c825b87cb63ea9647f3692fa3604 Mon Sep 17 00:00:00 2001 From: glmdgrielson Date: Mon, 25 Nov 2024 13:08:53 -0500 Subject: [PATCH] Modify CI flow to fix build issue --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb85622b..e483d854 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,9 @@ jobs: path: dist # Deploy Preview - name: Deploy Preview - if: github.ref != 'refs/heads/master' && github.event.repository.fork == false + if: github.ref != 'refs/heads/master' && !github.event.pull_request.head.repo.fork run: npm run deploy:preview -- --auth ${{secrets.NETLIFY_AUTH_TOKEN}} --alias $GITHUB_RUN_ID # Deploy Production - name: Deploy Production - if: github.ref == 'refs/heads/master' && github.event.repository.fork == false + if: github.ref == 'refs/heads/master' && !github.event.pull_request.head.repo.fork run: npm run deploy:prod -- --auth ${{secrets.NETLIFY_AUTH_TOKEN}}