Skip to content

Commit c66e38f

Browse files
authored
Add turbo deploy script (cloudflare#119)
1 parent d99224e commit c66e38f

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

apps/cloudflare-one-casb/wrangler.jsonc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"env": {
5656
"staging": {
5757
"name": "mcp-cloudflare-casb-staging",
58-
"account_id": "8995c0f49cdcf57eb54d2c1e52b7d2f3",
58+
"account_id": "6702657b6aa048cf3081ff3ff3c9c52f",
5959
"routes": [{ "pattern": "casb-staging.mcp.cloudflare.com", "custom_domain": true }],
6060
"durable_objects": {
6161
"bindings": [
@@ -73,7 +73,7 @@
7373
"kv_namespaces": [
7474
{
7575
"binding": "OAUTH_KV",
76-
"id": "18e839155d00407095d793dcf7e78f25"
76+
"id": "a5f066bbcf134200b6b3565b0802f9a8"
7777
}
7878
],
7979
"analytics_engine_datasets": [
@@ -84,22 +84,26 @@
8484
]
8585
},
8686
"production": {
87-
"name": "mcp-cloudflare-production",
88-
"account_id": "8995c0f49cdcf57eb54d2c1e52b7d2f3",
87+
"name": "mcp-cloudflare-casb-production",
88+
"account_id": "6702657b6aa048cf3081ff3ff3c9c52f",
8989
"routes": [{ "pattern": "casb.mcp.cloudflare.com", "custom_domain": true }],
9090
"durable_objects": {
9191
"bindings": [
9292
{
9393
"class_name": "CASBMCP",
94-
"name": "MCP_OBJECT",
94+
"name": "MCP_OBJECT"
95+
},
96+
{
97+
"class_name": "UserDetails",
98+
"name": "USER_DETAILS",
9599
"script_name": "mcp-cloudflare-workers-observability-production"
96100
}
97101
]
98102
},
99103
"kv_namespaces": [
100104
{
101105
"binding": "OAUTH_KV",
102-
"id": "f9782295993747df90c29c45ca89edb1"
106+
"id": "fef47746f4384a52bad2c56ff8010aee"
103107
}
104108
],
105109
"analytics_engine_datasets": [

turbo.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
33
"tasks": {
4+
"deploy": {
5+
"cache": false,
6+
"passThroughEnv": [
7+
"CLOUDFLARE_ACCOUNT_ID",
8+
"CLOUDFLARE_API_TOKEN",
9+
"CLOUDFLARE_STAGING_API_TOKEN"
10+
],
11+
"outputs": ["dist"]
12+
},
413
"check": {
514
"dependsOn": ["^check:types", "^check:lint", "check:types", "check:lint"]
615
},

0 commit comments

Comments
 (0)