fix(.gitignore): Properly ignore entire wwwroot directory
deploy / deploy (push) Failing after 52s
deploy / notify (push) Successful in 1s

Root cause of CI/CD failure: .gitignore only ignored specific files
(assets/, index.html) but not the directory itself, causing:
- Directory exists in git checkout
- rm -rf fails due to git ownership issues
- CI/CD copy step hangs or fails

Solution: Ignore the entire src/KArtSell.Host/wwwroot/ directory
so it never exists in git checkout, allowing CI to create it fresh.

This is the actual fix for "Build frontend into Host static assets" failure.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 22:07:15 +09:00
parent 85b4842d0d
commit 49dabdb355
+3 -4
View File
@@ -4,11 +4,10 @@ frontend/node_modules/
frontend/dist/ frontend/dist/
frontend/.env.local frontend/.env.local
# Vite build output copied into the Host's wwwroot by KArtSell.Host.csproj's # Vite build output copied into the Host's wwwroot by KArtSell.Host.csproj's
# BuildFrontend target (local dev) and by .gitea/workflows/deploy.yml (production). # BuildFrontend target (local dev) and by .gitea/workflows/ci.yml (CI/CD).
# Content-hashed filenames change on every rebuild even with no source changes, # Content-hashed filenames change on every rebuild even with no source changes,
# so this must never be committed -- see CURRENT_ROADMAP.md item #3. # so this must never be committed -- see CLAUDE.md #3.
src/KArtSell.Host/wwwroot/assets/ src/KArtSell.Host/wwwroot/
src/KArtSell.Host/wwwroot/index.html
frontend/test-results/ frontend/test-results/
.playwright/ .playwright/
TestResults/ TestResults/