diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d9e62a..339d472 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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'