build: parameter for --api-key instead

This commit is contained in:
Dylan R. E. Moonfire 2021-09-03 21:11:28 -05:00
parent 0e424fce33
commit 619d583446

View file

@ -73,7 +73,7 @@ deploy:
- dotnet restore
- dotnet build
- dotnet pack -c Release
- dotnet nuget push "bin/*.nupkg" $NUGET_TOKEN --source "$NUGET_PUSH_URL"
- dotnet nuget push "bin/*.nupkg" --api-key $NUGET_TOKEN --source "$NUGET_PUSH_URL"
rules:
- if: '$FORCE_DEPLOY'
- if: '$CI_COMMIT_TITLE =~ /^chore\(release\)/ && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'