From 1fe6de34b7335a02d6c6aca8795ecd1df0f9fa90 Mon Sep 17 00:00:00 2001 From: mdchad Date: Tue, 4 Nov 2025 15:25:44 +0800 Subject: [PATCH 1/2] add cloudflare api token to turbo --- turbo.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/turbo.json b/turbo.json index d0555e9..e9a33dd 100644 --- a/turbo.json +++ b/turbo.json @@ -23,7 +23,10 @@ }, "deploy": { "cache": false, - "persistent": true + "persistent": true, + "env": [ + "CLOUDFLARE_API_TOKEN" + ] } } } From d62a1bae2763ddc04b6ec43e8b978496535c59e5 Mon Sep 17 00:00:00 2001 From: mdchad Date: Tue, 4 Nov 2025 16:21:56 +0800 Subject: [PATCH 2/2] test done, add back again the filters --- .github/workflows/deploy-marketing.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-marketing.yml b/.github/workflows/deploy-marketing.yml index 416725b..99a3a6d 100644 --- a/.github/workflows/deploy-marketing.yml +++ b/.github/workflows/deploy-marketing.yml @@ -19,21 +19,21 @@ jobs: with: fetch-depth: 0 -# - name: Check for changes -# uses: dorny/paths-filter@v3 -# id: changes -# with: -# filters: | -# marketing: -# - 'apps/marketing/**' -# - 'packages/**' -# - 'package.json' -# - 'turbo.json' + - name: Check for changes + uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + marketing: + - 'apps/marketing/**' + - 'packages/**' + - 'package.json' + - 'turbo.json' # Deploy Marketing deploy-marketing: -# needs: changes -# if: ${{ needs.changes.outputs.marketing == 'true' }} + needs: changes + if: ${{ needs.changes.outputs.marketing == 'true' }} runs-on: ubuntu-latest name: Deploy Marketing steps: