From 8d1a6b72a888d64ef44c17e2d0bc63eee50f9b97 Mon Sep 17 00:00:00 2001 From: afoim Date: Wed, 13 Aug 2025 14:03:21 +0800 Subject: [PATCH] =?UTF-8?q?ci(github):=20=E7=AE=80=E5=8C=96Cloudflare=20Pa?= =?UTF-8?q?ges=E9=83=A8=E7=BD=B2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除冗余的account-id和api-token参数,这些已通过环境变量自动注入 --- .github/workflows/pr.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e27808225..1f44b70ec 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -46,9 +46,7 @@ jobs: BRANCH_NAME=pr-${PR_NUMBER} wrangler pages deploy ./dist \ --project-name=$CLOUDFLARE_PROJECT_NAME \ - --branch=$BRANCH_NAME \ - --account-id=$CLOUDFLARE_ACCOUNT_ID \ - --api-token=$CLOUDFLARE_API_TOKEN + --branch=$BRANCH_NAME # 7. 在 PR 评论区发布预览链接 - name: Comment preview URL on PR