refact
This commit is contained in:
@ -22,7 +22,7 @@ publish:
|
||||
stage: deploy
|
||||
artifacts:
|
||||
paths:
|
||||
- src/appled/bin/Release/netcoreapp2.1/publish/
|
||||
- src/isnd/bin/Release/netcoreapp2.1/publish/
|
||||
when: always
|
||||
script:
|
||||
- dotnet publish --configuration Release
|
||||
@ -37,7 +37,7 @@ deploy-to-gitlab:
|
||||
- dotnet nuget add source --name gitlab --username gitlab+deploy-token-2 --password
|
||||
$CI_JOB_TOKEN --store-password-in-clear-text "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json"
|
||||
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
|
||||
deploy-to-apple:
|
||||
deploy-to-isn:
|
||||
stage: deploy
|
||||
artifacts:
|
||||
paths:
|
||||
@ -45,11 +45,11 @@ deploy-to-apple:
|
||||
when: always
|
||||
script:
|
||||
- dotnet pack --configuration Release --no-restore
|
||||
- cd src/applec
|
||||
- cd src/isn
|
||||
- dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../*/bin/Release/*.nupkg
|
||||
environment:
|
||||
name: production
|
||||
url: https://apple.pschneider.fr
|
||||
url: https://isn.pschneider.fr
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
Reference in New Issue
Block a user