UPDATED automated build config #3
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Api
|
||||
app.UseHttpsRedirection();
|
||||
}
|
||||
|
||||
#app.UseAuthorization();
|
||||
// app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user