Final fix
All checks were successful
tombutcher.work/tombutcher-ui/pipeline/head This commit looks good
All checks were successful
tombutcher.work/tombutcher-ui/pipeline/head This commit looks good
This commit is contained in:
parent
546e905bc0
commit
27c3bf16fc
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -33,11 +33,7 @@ pipeline {
|
||||
|
||||
stage('Deploy to Cloudflare Pages') {
|
||||
steps {
|
||||
sh '''
|
||||
wrangler pages deploy ./build \
|
||||
--project-name $PROJECT_NAME \
|
||||
--branch main
|
||||
'''
|
||||
sh 'npx wrangler deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
22389
package-lock.json
generated
Normal file
22389
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
13
wrangler.json
Normal file
13
wrangler.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "tombutcher-ui",
|
||||
"main": "api/index.js",
|
||||
"compatibility_date": "2025-03-21",
|
||||
"assets": {
|
||||
"not_found_handling": "single-page-application",
|
||||
"binding": "WORKER_ASSETS"
|
||||
},
|
||||
"observability": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
@ -1,51 +0,0 @@
|
||||
/**
|
||||
* For more details on how to configure Wrangler, refer to:
|
||||
* https://developers.cloudflare.com/workers/wrangler/configuration/
|
||||
*/
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "tombutcher-ui",
|
||||
"main": "api/index.js",
|
||||
"compatibility_date": "2025-03-21",
|
||||
"assets": {
|
||||
"not_found_handling": "single-page-application",
|
||||
"binding": "ASSETS",
|
||||
},
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
},
|
||||
/**
|
||||
* Smart Placement
|
||||
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
|
||||
*/
|
||||
// "placement": { "mode": "smart" },
|
||||
|
||||
/**
|
||||
* Bindings
|
||||
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
|
||||
* databases, object storage, AI inference, real-time communication and more.
|
||||
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
|
||||
*/
|
||||
|
||||
/**
|
||||
* Environment Variables
|
||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
||||
*/
|
||||
// "vars": { "GA_MEASUREMENT_ID": "" },
|
||||
/**
|
||||
* Note: Use secrets to store sensitive data.
|
||||
* https://developers.cloudflare.com/workers/configuration/secrets/
|
||||
*/
|
||||
|
||||
/**
|
||||
* Static Assets
|
||||
* https://developers.cloudflare.com/workers/static-assets/binding/
|
||||
*/
|
||||
// "assets": { "directory": "./public/", "binding": "ASSETS" },
|
||||
|
||||
/**
|
||||
* Service Bindings (communicate between multiple Workers)
|
||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
||||
*/
|
||||
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user