diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 91da813..727db52 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -34,11 +34,15 @@ jobs: env: DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }} + - name: Clean up build output + working-directory: ./apps/info-dashboard/.next + run: | + rm -rf cache + - name: Deploy to Cloudflare Pages - working-directory: ./apps/info-dashboard/out env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_PROJECT_NAME: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} run: | - npx wrangler pages deploy ./apps/info-dashboard/ --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main + npx wrangler pages deploy . --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main