From a776bd1ce816bb7415cb08ecb19f4cc85d586db1 Mon Sep 17 00:00:00 2001 From: wfz Date: Wed, 6 May 2026 17:57:43 +0800 Subject: [PATCH] Fix: use wrangler@3 for deployment --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13d63f1..8798c35 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { stage('Deploy') { steps { echo 'Deploying to Cloudflare Pages...' - sh 'npx wrangler pages deploy docs/.vitepress/dist --project-name=web-home --commit-hash=${GIT_COMMIT} --commit-message="${GIT_COMMIT_MESSAGE}" --commit-dirty=true' + sh 'npx wrangler@3 pages deploy docs/.vitepress/dist --project-name=web-home --commit-hash=${GIT_COMMIT} --commit-message="${GIT_COMMIT_MESSAGE}" --commit-dirty=true' } } }