diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index f8c3b29..97ed78d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -37,6 +37,9 @@ jobs: # Web.Client needs a Release static-web-assets manifest for Web publish. # Build it explicitly so publish can reuse the prepared outputs. dotnet build src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true + # Build the Web host in Release as well so publish has the same inputs + # the server uses in production. + dotnet build src/TaxBaik.Web/TaxBaik.Web.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true echo "--- Web.Client Release artifacts ---" ls -la src/TaxBaik.Web.Client/bin/Release/net10.0 || true ls -la src/TaxBaik.Web.Client/obj/Release/net10.0 || true @@ -44,7 +47,6 @@ jobs: -c Release \ -o ./publish \ --no-restore \ - --no-build \ -p:SelfContained=false \ -p:PublishReadyToRun=false \ -p:PerformanceSummary=true \