Skip to content

Commit 223ab53

Browse files
authored
Test cloudflare preview URL (#3130)
1 parent ae43ca1 commit 223ab53

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ jobs:
126126
body: |
127127
Summary of the deployments:
128128
129-
### Version 1 (production)
129+
### Version 1
130130
131131
| Version | URL | Status |
132132
| --- | --- | --- |
133133
| Latest commit | [${{ needs.deploy-v1-cloudflare.outputs.deployment-url }}](${{ needs.deploy-v1-cloudflare.outputs.deployment-url }}) | ${{ needs.deploy-v1-cloudflare.result == 'success' && '✅' || '❌' }} |
134134
| PR | [${{ needs.deploy-v1-cloudflare.outputs.deployment-alias-url }}](${{ needs.deploy-v1-cloudflare.outputs.deployment-alias-url }}) | ${{ needs.deploy-v1-cloudflare.result == 'success' && '✅' || '❌' }} |
135135
136-
### Version 2 (experimental)
136+
### Version 2
137137
138138
| Version | URL | Status |
139139
| --- | --- | --- |

packages/gitbook-v2/wrangler.jsonc

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
"observability": {
1111
"enabled": true
1212
},
13-
"migrations": [
14-
{
15-
"tag": "v1",
16-
"new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"]
17-
}
18-
],
1913
"env": {
2014
"preview": {
2115
"d1_databases": [
@@ -94,7 +88,13 @@
9488
"class_name": "DOShardedTagCache"
9589
}
9690
]
97-
}
91+
},
92+
"migrations": [
93+
{
94+
"tag": "v1",
95+
"new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"]
96+
}
97+
]
9898
},
9999
"production": {
100100
"routes": [
@@ -146,7 +146,13 @@
146146
"class_name": "DOShardedTagCache"
147147
}
148148
]
149-
}
149+
},
150+
"migrations": [
151+
{
152+
"tag": "v1",
153+
"new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"]
154+
}
155+
]
150156
}
151157
}
152158
}

0 commit comments

Comments
 (0)