move content of default to fix relative path issue

This commit is contained in:
Nicolas Dorseuil
2025-06-24 13:12:46 +02:00
parent 335c7fe990
commit f745daaa25
2 changed files with 6 additions and 1 deletions
@@ -97,6 +97,11 @@ runs:
# run: |
# bun run ./packages/gitbook-v2/openNext/customWorkers/script/updateWrangler.ts ${{ steps.extract_server_version_id.outputs.version_id }}
- name: Copy server functions to custom workers
shell: bash
run: |
cp -r ./packages/gitbook-v2/.open-next/server-functions/default ./packages/gitbook-v2/openNext/customWorkers/default
- id: deploy_container
name: Deploy container to Cloudflare
uses: cloudflare/wrangler-action@v3.14.0
@@ -9,7 +9,7 @@
"containers": [
{
"class_name": "OpenNextContainer",
"image": "../../.open-next/server-functions/default/Dockerfile",
"image": "./default/Dockerfile",
"max_instances": 1,
"name": "container-open-next"
}