From 54d7f3956e5219eb7bc52c0b3ab62bae1cc76a1e Mon Sep 17 00:00:00 2001 From: KrijnL Date: Fri, 23 Aug 2024 13:44:04 +0200 Subject: [PATCH] fix: only invalidate Cloudfront on build of the main branch --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a66dcea..fd95dff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 needs: Build - # if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' steps: - name: Invalidate CloudFront