Skip to content

Commit c687189

Browse files
pescnclaude
andcommitted
fix(ci): use subshell for docs build to preserve working directory
The `cd docs` command changed the working directory, causing the subsequent `test -f backend/docs/index.html` verification to check the wrong path and fail even though prerender succeeded. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ed18aa0 commit c687189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: |
5757
bun install
5858
mkdir -p backend/docs
59-
cd docs && bun x fumadocs-mdx && bun run build
59+
(cd docs && bun x fumadocs-mdx && bun run build)
6060
# Verify pre-built docs have a valid index.html
6161
test -f backend/docs/index.html
6262
echo "Docs pre-built successfully with $(ls backend/docs/assets/*.js | wc -l) JS assets"

0 commit comments

Comments
 (0)