Skip to content

Fix docs deploy: drop stale index.html rename#33

Closed
koenbeuk wants to merge 1 commit intomainfrom
fix/docs-deploy-stale-mv
Closed

Fix docs deploy: drop stale index.html rename#33
koenbeuk wants to merge 1 commit intomainfrom
fix/docs-deploy-stale-mv

Conversation

@koenbeuk
Copy link
Copy Markdown
Collaborator

Summary

PR #32 got the publish step working but the next step failed:

mv: cannot stat 'docs/public/_playground/index.html': No such file or directory

The wwwroot already ships `app.htm` directly (BlazorMonaco removal moved the entry point off `index.html`), so the `mv` is obsolete. Also drops the `rm -rf BlazorMonaco` line that was cleaning up static assets that no longer exist in the publish output.

Locally verified `dotnet publish src/Docs/Playground.Wasm -c Release` emits `wwwroot/app.htm` and `` — the remaining `sed` step still has the right target.

Test plan

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings April 13, 2026 02:21
@koenbeuk koenbeuk closed this Apr 13, 2026
@koenbeuk koenbeuk deleted the fix/docs-deploy-stale-mv branch April 13, 2026 02:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the docs deployment workflow to align with the current Blazor WASM publish output (which now ships app.htm directly) and remove obsolete cleanup steps, fixing a failing deploy step introduced by earlier workflow changes.

Changes:

  • Removes the stale mv .../index.html .../app.htm step that fails because index.html is no longer produced.
  • Drops removal of BlazorMonaco static assets that no longer exist in the publish output.
  • Keeps the base-href rewrite targeting app.htm for GitHub Pages hosting under /ExpressiveSharp/_playground/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants