fix: deploy to production with --branch main
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -17,7 +17,7 @@ pipeline {
|
|||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Deploying to Cloudflare Pages...'
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user