diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6070435..f69123e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,5 +49,5 @@ pack: script: - dotnet pack --configuration Release --no-restore - cd src/nuget-cli - - dotnet run push -s $NUGETSOURCE -k "$NUGETSOURCEAPIKEY" ../nuget-host/bin/Release/nuget-host.*.nupkg + - dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../nuget-host/bin/Release/nuget-host.*.nupkg diff --git a/src/nuget-host/Controllers/PackagesController.cs b/src/nuget-host/Controllers/PackagesController.cs index dd1e23a..d7937d8 100644 --- a/src/nuget-host/Controllers/PackagesController.cs +++ b/src/nuget-host/Controllers/PackagesController.cs @@ -53,7 +53,7 @@ namespace nuget_host.Controllers var apikey = dbContext.ApiKeys.SingleOrDefault(k => k.Id == clearkey); if (apikey == null) { - logger.LogInformation("403 : no api-key"); + logger.LogError("403 : no api-key"); return Unauthorized(); }