fix(ci): deploy landing from dist, not the stale Next.js out path (#240)

This commit is contained in:
SnapOtter
2026-06-15 22:00:00 +08:00
committed by GitHub
parent f622a4f691
commit 44bfca105f
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
run: pnpm --filter @snapotter/landing build
- name: Deploy to Cloudflare Pages
run: npx wrangler pages deploy apps/landing/out --project-name snapotter-landing --branch main --commit-dirty=true
run: npx wrangler pages deploy apps/landing/dist --project-name snapotter-landing --branch main --commit-dirty=true
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}