Fix: use wrangler@3 for deployment

This commit is contained in:
wfz
2026-05-06 17:57:43 +08:00
parent e8f203f66a
commit a776bd1ce8

2
Jenkinsfile vendored
View File

@@ -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'
}
}
}