diff --git a/.drone.yml b/.drone.yml index 15727a4..713acc7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,10 +36,11 @@ steps: environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: - from_secret: nuget_api_key + from_secret: nuget_musk_api_key commands: + - dotnet nuget add source --name musk https://gitea.musk.fun/api/packages/ruberoid/nuget/index.json - 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 + - dotnet nuget push ./local-env/telegram-listener/bin/*Contract*.nupkg --api-key $NUGETAPIKEY --source musk --skip-duplicate - name: nocr text matcher build & push image: plugins/docker @@ -60,10 +61,12 @@ steps: environment: VERSION: ${DRONE_TAG} NUGETAPIKEY: - from_secret: nuget_api_key + from_secret: nuget_musk_api_key commands: - - 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 + - dotnet nuget add source --name musk https://gitea.musk.fun/api/packages/ruberoid/nuget/index.json + - dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin + - dotnet nuget push ./local-env/text-matcher/bin/*Contract*.nupkg --api-key $NUGETAPIKEY --source musk --skip-duplicate + trigger: event: