Fix: use wrangler@3 for deployment
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user