Skip to content

Commit 78be96e

Browse files
committed
fix(ci): ensure web dist exists in build job
1 parent dd131b5 commit 78be96e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,13 @@ jobs:
397397
- name: Apply submodule patches
398398
run: if ls patches/*.patch 1>/dev/null 2>&1; then cd zeroclaw && git apply ../patches/*.patch; fi
399399

400+
- name: Ensure embedded web assets exist
401+
run: |
402+
mkdir -p zeroclaw/web/dist
403+
if [ ! -f zeroclaw/web/dist/index.html ]; then
404+
printf '%s\n' '<!doctype html><html><body>OpenClaw Web UI placeholder</body></html>' > zeroclaw/web/dist/index.html
405+
fi
406+
400407
- uses: actions/setup-java@v4
401408
with:
402409
distribution: temurin

0 commit comments

Comments
 (0)