ci: document publish flow and fix portal imports
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s
This commit is contained in:
@@ -33,6 +33,8 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
mkdir -p ./publish-logs
|
mkdir -p ./publish-logs
|
||||||
start=$(date +%s)
|
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/ \
|
dotnet publish src/TaxBaik.Web/ \
|
||||||
-c Release \
|
-c Release \
|
||||||
-o ./publish \
|
-o ./publish \
|
||||||
@@ -50,6 +52,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
mkdir -p ./publish-logs
|
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/
|
dotnet restore src/TaxBaik.Proxy/
|
||||||
start=$(date +%s)
|
start=$(date +%s)
|
||||||
dotnet publish src/TaxBaik.Proxy/ \
|
dotnet publish src/TaxBaik.Proxy/ \
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
||||||
|
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -9,4 +9,7 @@
|
|||||||
@using Microsoft.JSInterop
|
@using Microsoft.JSInterop
|
||||||
@using MudBlazor
|
@using MudBlazor
|
||||||
@using TaxBaik.PortalClient
|
@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
|
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||||
|
|||||||
@@ -392,6 +392,12 @@ app.MapHealthChecks("/healthz");
|
|||||||
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
|
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
|
||||||
app.MapStaticAssets();
|
app.MapStaticAssets();
|
||||||
|
|
||||||
|
// Blazor WebAssembly Admin Client
|
||||||
|
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
|
||||||
|
.AddInteractiveWebAssemblyRenderMode()
|
||||||
|
.AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly)
|
||||||
|
.AllowAnonymous();
|
||||||
|
|
||||||
// SPA 라우팅 폴백 (가장 마지막에!)
|
// SPA 라우팅 폴백 (가장 마지막에!)
|
||||||
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user