link warn & deploy to gitlab
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user