From 619d5834461416821082cda002156fef416b00f5 Mon Sep 17 00:00:00 2001 From: "Dylan R. E. Moonfire" Date: Fri, 3 Sep 2021 21:11:28 -0500 Subject: [PATCH] build: parameter for `--api-key` instead --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'