From bdeb2e08d5d87feb9a2120862c301b12e3c7ac1d Mon Sep 17 00:00:00 2001 From: PGSCOM <69808296+PGSCOM@users.noreply.github.com> Date: Wed, 4 Sep 2024 03:01:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20deprecated=20=E2=80=9Cpublish=E2=80=9D=20?= =?UTF-8?q?command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a63f38e..dca12c9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,7 +46,7 @@ try { $ export CLOUDFLARE_ACCOUNT_ID="${accountId}" } - $$ npx wrangler@${wranglerVersion} pages publish "${directory}" --project-name="${projectName}" --branch="${branch}" + $$ npx wrangler@${wranglerVersion} pages deploy "${directory}" --project-name="${projectName}" --branch="${branch}" `; const response = await fetch(