Skip to content

Commit f745daa

Browse files
committed
move content of default to fix relative path issue
1 parent 335c7fe commit f745daa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/composite/deploy-cloudflare/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ runs:
9797
# run: |
9898
# bun run ./packages/gitbook-v2/openNext/customWorkers/script/updateWrangler.ts ${{ steps.extract_server_version_id.outputs.version_id }}
9999

100+
- name: Copy server functions to custom workers
101+
shell: bash
102+
run: |
103+
cp -r ./packages/gitbook-v2/.open-next/server-functions/default ./packages/gitbook-v2/openNext/customWorkers/default
104+
100105
- id: deploy_container
101106
name: Deploy container to Cloudflare
102107
uses: cloudflare/[email protected]

packages/gitbook-v2/openNext/customWorkers/containerWrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"containers": [
1010
{
1111
"class_name": "OpenNextContainer",
12-
"image": "../../.open-next/server-functions/default/Dockerfile",
12+
"image": "./default/Dockerfile",
1313
"max_instances": 1,
1414
"name": "container-open-next"
1515
}

0 commit comments

Comments
 (0)