diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index 013815c58..86a83a74e 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -126,14 +126,14 @@ jobs: body: | Summary of the deployments: - ### Version 1 (production) + ### Version 1 | Version | URL | Status | | --- | --- | --- | | Latest commit | [${{ needs.deploy-v1-cloudflare.outputs.deployment-url }}](${{ needs.deploy-v1-cloudflare.outputs.deployment-url }}) | ${{ needs.deploy-v1-cloudflare.result == 'success' && '✅' || '❌' }} | | PR | [${{ needs.deploy-v1-cloudflare.outputs.deployment-alias-url }}](${{ needs.deploy-v1-cloudflare.outputs.deployment-alias-url }}) | ${{ needs.deploy-v1-cloudflare.result == 'success' && '✅' || '❌' }} | - ### Version 2 (experimental) + ### Version 2 | Version | URL | Status | | --- | --- | --- | diff --git a/packages/gitbook-v2/wrangler.jsonc b/packages/gitbook-v2/wrangler.jsonc index 1aa37caad..18d66ba00 100644 --- a/packages/gitbook-v2/wrangler.jsonc +++ b/packages/gitbook-v2/wrangler.jsonc @@ -10,12 +10,6 @@ "observability": { "enabled": true }, - "migrations": [ - { - "tag": "v1", - "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"] - } - ], "env": { "preview": { "d1_databases": [ @@ -94,7 +88,13 @@ "class_name": "DOShardedTagCache" } ] - } + }, + "migrations": [ + { + "tag": "v1", + "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"] + } + ] }, "production": { "routes": [ @@ -146,7 +146,13 @@ "class_name": "DOShardedTagCache" } ] - } + }, + "migrations": [ + { + "tag": "v1", + "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"] + } + ] } } }