diff --git a/Jenkinsfile b/Jenkinsfile index 19659c0..79aab89 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stage('Install') { steps { echo 'Installing dependencies...' - sh 'npm ci && npm install wrangler@3 --save-dev' + sh 'npm ci' } } @@ -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' + sh 'rm -f wrangler.toml && npx wrangler pages deploy docs/.vitepress/dist --project-name=web-home' } } }