From e8e2349a974e276b89efe553620e279cb49ec673 Mon Sep 17 00:00:00 2001 From: ty <786220806@qq.com> Date: Sun, 16 Mar 2025 15:25:29 +0800 Subject: [PATCH] fix: Github Action failed to build pages --- scripts/deploy/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);