link warn & deploy to gitlab

This commit is contained in:
Paul Schneider
2021-06-14 00:46:09 +01:00
parent 61ba3b2bf8
commit 4fa03c5a1d
2 changed files with 10 additions and 1 deletions

View File

@ -40,6 +40,15 @@ publish:
script:
- dotnet publish --version-suffix ci --configuration Release --ignore-failed-sources
deploy:
stage: deploy
script:
- dotnet pack -c Release
- dotnet nuget add source "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
- dotnet nuget push "bin/Release/*.nupkg" --source gitlab
only:
- master
pack:
stage: deploy
artifacts: