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: 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" + ] } } }