ci: document publish flow and fix portal imports
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s

This commit is contained in:
2026-07-04 18:19:48 +09:00
parent ef3f8ffaf4
commit d08de4fa10
4 changed files with 14 additions and 0 deletions
+4
View File
@@ -33,6 +33,8 @@ jobs:
set -e
mkdir -p ./publish-logs
start=$(date +%s)
# Web publish is allowed to build because Blazor/Web SDK publish needs
# publish-specific assets even after the solution build has completed.
dotnet publish src/TaxBaik.Web/ \
-c Release \
-o ./publish \
@@ -50,6 +52,8 @@ jobs:
run: |
set -e
mkdir -p ./publish-logs
# Proxy is not part of the solution restore graph, so restore it once
# here before publishing to avoid NETSDK1004 in CI.
dotnet restore src/TaxBaik.Proxy/
start=$(date +%s)
dotnet publish src/TaxBaik.Proxy/ \
@@ -11,6 +11,7 @@
<ItemGroup>
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
</ItemGroup>
<ItemGroup>
+3
View File
@@ -9,4 +9,7 @@
@using Microsoft.JSInterop
@using MudBlazor
@using TaxBaik.PortalClient
@using TaxBaik.WasmClient.Components.Admin
@using TaxBaik.WasmClient.Components.Admin.Layout
@using TaxBaik.WasmClient.Components.Admin.Shared
@using static Microsoft.AspNetCore.Components.Web.RenderMode
+6
View File
@@ -392,6 +392,12 @@ app.MapHealthChecks("/healthz");
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
app.MapStaticAssets();
// Blazor WebAssembly Admin Client
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
.AddInteractiveWebAssemblyRenderMode()
.AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly)
.AllowAnonymous();
// SPA 라우팅 폴백 (가장 마지막에!)
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");