fix: rename wrangler.toml before deploy

This commit is contained in:
wfz
2026-05-07 11:27:29 +08:00
parent 6277161497
commit 0824714ef2

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-dirty=true'
sh 'mv wrangler.toml wrangler.toml.bak && npx wrangler pages deploy docs/.vitepress/dist --project-name=web-home --commit-dirty=true && mv wrangler.toml.bak wrangler.toml'
}
}
}