From 15f5c2991b99161b960ab081f50c1e606f6b6e4f Mon Sep 17 00:00:00 2001 From: Koen Date: Mon, 13 Apr 2026 02:21:23 +0000 Subject: [PATCH] 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) --- .github/workflows/docs.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a4c9f51..d5de559 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,18 +32,14 @@ jobs: -c Release \ -o .artifacts/playground # Drop the Blazor publish output into VitePress' static asset folder - # so it ships as part of the site under /playground/. + # so it ships as part of the site under /_playground/. rm -rf docs/public/_playground mkdir -p docs/public/_playground cp -r .artifacts/playground/wwwroot/. docs/public/_playground/ - # Rename to app.html so it doesn't collide with VitePress's route resolution - mv docs/public/_playground/index.html docs/public/_playground/app.htm sed -i 's|||' docs/public/_playground/app.htm # Copy _content/ to docs root so Blazor's dynamic imports resolve # when the web component is hosted directly on the VitePress page cp -r docs/public/_playground/_content docs/public/_content - # Remove BlazorMonaco static assets (no longer used) - rm -rf docs/public/_content/BlazorMonaco docs/public/_playground/_content/BlazorMonaco - name: Pre-render doc samples run: |