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 - dotnet restore
after_script: after_script:
- echo "After script section" - dotnet nuget delete gitlab
- echo "For example you might do some cleanup here"
nonreg: nonreg:
stage: test stage: test
@ -44,7 +43,8 @@ deploy:
when: always when: always
script: script:
- dotnet pack -c Release - 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: only:
- master - master

Loading…