diff --git a/.drone.yml b/.drone.yml index 774c302..15727a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,8 +38,8 @@ steps: NUGETAPIKEY: from_secret: nuget_api_key commands: - - dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj - - 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 --skip-duplicate + - dotnet pack ./local-env/telegram-listener/Nocr.TelegramListener.sln -o ./local-env/telegram-listener/bin + - dotnet nuget push ./local-env/telegram-listener/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate - name: nocr text matcher build & push image: plugins/docker @@ -62,8 +62,8 @@ steps: NUGETAPIKEY: from_secret: nuget_api_key commands: - - dotnet pack ./local-env/text-matcher/src/*.Contracts/*.csproj -o ./local-env/bin/ - - dotnet nuget push ./local-env/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate + - dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin/ + - dotnet nuget push ./local-env/text-matcher/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate trigger: event: