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
script:
- dotnet publish --configuration Release
deploy:
deploy-to-gitlab:
stage: deploy
artifacts:
paths:
@ -38,7 +38,7 @@ deploy:
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
only:
- master
pack:
deploy-to-apple:
stage: deploy
artifacts:
paths:
@ -47,7 +47,7 @@ pack:
script:
- dotnet pack --configuration Release --no-restore
- 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:
- build
- test