Use NPX for running wrangler.
All checks were successful
thehideout/TheHideout-UI/pipeline/head This commit looks good
All checks were successful
thehideout/TheHideout-UI/pipeline/head This commit looks good
This commit is contained in:
parent
5003743720
commit
4028675dd0
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -15,7 +15,7 @@ def deploy() {
|
|||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
// Deploy to Cloudflare Pages using wrangler
|
// Deploy to Cloudflare Pages using wrangler
|
||||||
withCredentials([string(credentialsId: 'th-cloudflare-api-token', variable: 'CLOUDFLARE_API_TOKEN')]) {
|
withCredentials([string(credentialsId: 'th-cloudflare-api-token', variable: 'CLOUDFLARE_API_TOKEN')]) {
|
||||||
sh 'yarn wrangler pages deploy dist'
|
sh 'npx wrangler pages deploy dist'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user