UPDATED automated build config #3

This commit is contained in:
Marek Lesko
2025-07-15 18:53:54 +00:00
parent 5c82bca4a3
commit 1f41c900a7
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,6 @@ api-build:
stage: build
image: mcr.microsoft.com/dotnet/sdk:8.0
script:
- ls -halt
- cd Api
- dotnet publish Api.csproj --output ./build --runtime linux-x64 --configuration Release --self-contained true
artifacts:

View File

@@ -35,7 +35,7 @@ namespace Api
app.UseHttpsRedirection();
}
#app.UseAuthorization();
// app.UseAuthorization();
app.MapControllers();