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