fix: deploy to production with --branch main

This commit is contained in:
wfz
2026-05-07 14:45:55 +08:00
parent 9461b3dad0
commit 6fb73f4638

2
Jenkinsfile vendored
View File

@@ -17,7 +17,7 @@ pipeline {
stage('Deploy') {
steps {
echo 'Deploying to Cloudflare Pages...'
sh 'rm -f wrangler.toml && npx wrangler pages deploy docs/.vitepress/dist --project-name=web-home'
sh 'rm -f wrangler.toml && npx wrangler pages deploy docs/.vitepress/dist --project-name=web-home --branch main'
}
}
}