trying and fix 401

broken/ef
Paul Schneider 3 years ago
parent e88763df09
commit b341fdfa4d
1 changed files with 3 additions and 3 deletions

@ -11,8 +11,7 @@ before_script:
- dotnet restore
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
- dotnet nuget delete gitlab
nonreg:
stage: test
@ -44,7 +43,8 @@ deploy:
when: always
script:
- dotnet pack -c Release
- dotnet nuget push src/*/bin/Release/*.nupkg -s "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" -k $CI_JOB_TOKEN
- dotnet nuget add source -name gitlab --username gitlab+deploy-token-2 --password $CI_JOB_TOKEN --store-password-in-clear-text "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json"
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
only:
- master

Loading…