renames the 'deploy' job

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

@ -25,7 +25,7 @@ publish:
when: always when: always
script: script:
- dotnet publish --configuration Release - dotnet publish --configuration Release
deploy: deploy-to-gitlab:
stage: deploy stage: deploy
artifacts: artifacts:
paths: paths:
@ -38,7 +38,7 @@ deploy:
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab - dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
only: only:
- master - master
pack: deploy-to-apple:
stage: deploy stage: deploy
artifacts: artifacts:
paths: paths:
@ -47,7 +47,7 @@ pack:
script: script:
- dotnet pack --configuration Release --no-restore - dotnet pack --configuration Release --no-restore
- cd src/nuget-cli - cd src/nuget-cli
- dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../nuget-host/bin/Release/nuget-host.*.nupkg - dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../*/bin/Release/*.nupkg
stages: stages:
- build - build
- test - test

Loading…