Skip to content

Commit 9acc7f3

Browse files
koenbeukclaude
andcommitted
Fix docs deploy: drop stale index.html rename step
The wwwroot already ships app.htm directly (BlazorMonaco removal moved the entry point off index.html), so `mv .../index.html .../app.htm` fails with "No such file or directory". Also drops the companion rm of BlazorMonaco static assets since those no longer exist in the publish output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4f0c526 commit 9acc7f3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,14 @@ jobs:
3232
-c Release \
3333
-o .artifacts/playground
3434
# Drop the Blazor publish output into VitePress' static asset folder
35-
# so it ships as part of the site under /playground/.
35+
# so it ships as part of the site under /_playground/.
3636
rm -rf docs/public/_playground
3737
mkdir -p docs/public/_playground
3838
cp -r .artifacts/playground/wwwroot/. docs/public/_playground/
39-
# Rename to app.html so it doesn't collide with VitePress's route resolution
40-
mv docs/public/_playground/index.html docs/public/_playground/app.htm
4139
sed -i 's|<base href="/" />|<base href="/ExpressiveSharp/_playground/" />|' docs/public/_playground/app.htm
4240
# Copy _content/ to docs root so Blazor's dynamic imports resolve
4341
# when the web component is hosted directly on the VitePress page
4442
cp -r docs/public/_playground/_content docs/public/_content
45-
# Remove BlazorMonaco static assets (no longer used)
46-
rm -rf docs/public/_content/BlazorMonaco docs/public/_playground/_content/BlazorMonaco
4743
4844
- name: Pre-render doc samples
4945
run: |

0 commit comments

Comments
 (0)