调整配置文件加载逻辑

develop
old易 2024-10-08 15:53:27 +08:00
parent 57e5056d12
commit 2869c2d253
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ RUN git status
RUN git log -1
# 进入项目所在目录并恢复和发布项目
WORKDIR /source/newgaokao/New_College.Api
WORKDIR /source/new_college.api
RUN dotnet restore
RUN dotnet publish -c release -o /app --no-restore -f net6.0

View File

@ -71,7 +71,7 @@
<ItemGroup>
<None Include="..\.editorconfig" Link=".editorconfig" />
<None Include="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
<None Include="wwwroot\BlogCore.Data.json\Department.tsv" />