diff --git a/scripts/deploy/index.ts b/scripts/deploy/index.ts index 123d550..a5683ba 100644 --- a/scripts/deploy/index.ts +++ b/scripts/deploy/index.ts @@ -320,7 +320,7 @@ const pushPagesSecret = () => { const deployPages = () => { console.log("🚧 Deploying to Cloudflare Pages..."); try { - execSync("pnpm run build:pages && pnpm dlx wrangler pages deploy .vercel/output/static --branch main", { stdio: "inherit" }); + execSync("pnpm run deploy:pages", { stdio: "inherit" }); console.log("✅ Pages deployment completed successfully"); } catch (error) { console.error("❌ Pages deployment failed:", error);