From c62470ea7037675e54f4744c9dcfc393750897f9 Mon Sep 17 00:00:00 2001 From: Colin Regourd Date: Fri, 17 May 2024 10:26:18 +0200 Subject: [PATCH] Fix workflow --- .github/workflows/vercel-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vercel-prod.yml b/.github/workflows/vercel-prod.yml index 339f0beb..7f6f2b86 100644 --- a/.github/workflows/vercel-prod.yml +++ b/.github/workflows/vercel-prod.yml @@ -8,7 +8,7 @@ on: - "main" jobs: Deploy-Production: - if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.head.ref, 'changeset-release/') || !contains(github.event.pull_request.changed_files, 'packages/next-admin/')) + if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.head.ref, 'changeset-release/') || (!contains(github.event.pull_request.changed_files, 'packages/next-admin/') && contains(github.event.pull_request.changed_files, 'apps/'))) uses: ./.github/workflows/vercel-deploy.yml secrets: inherit with: