renames the 'deploy' job

This commit is contained in:
Paul Schneider
2021-06-20 05:19:13 +01:00
parent a5d6e08945
commit 1c1964eb2c

View File

@ -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