diff --git a/.drone.yml b/.drone.yml index e13e80e..6c9b04c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,12 +32,11 @@ steps: - name: nocr telegram listener nuget package make & push image: mcr.microsoft.com/dotnet/sdk:8.0 environment: - Version: 0.1.0 - settings: - nugetapikey: + VERSION: 0.1.0 + NUGETAPIKEY: from_secret: nuget_api_key commands: - echo $nugetapikey - dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj - - dotnet nuget push bin/*/*.nupkg --api-key $nugetapikey --source https://api.nuget.org/v3/index.json + - dotnet nuget push ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/bin/*/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json