diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffb02fd..f5cd5e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -137,6 +137,30 @@ Runner:build: # - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj # #--------- Deploy --------- # +Runner:deploy-dev: + stage: deploy + tags: + - win + variables: + APP_NAME: Maat.Runner + SOL_NAME: Maat.Runner + INST_NAME: Maat.Installer + only: + - develop + needs: ["Runner:build"] + before_script: + - *nuget-fix + - dotnet restore $env:SOL_NAME.sln + - *version-fix + script: + # pubblicazione come singleApp + - dotnet publish -p:PublishProfile=SingleAppDebug.pubxml -p:RunCodeAnalysis=false -p:Configuration=Debug $env:APP_NAME/$env:APP_NAME.csproj + # creazione installer WIX + - dotnet build $env:INST_NAME/$env:INST_NAME.wixproj + #- *artifactZipper + - *hashBuild + - *nexusUpload + Runner:deploy: stage: deploy tags: @@ -147,7 +171,6 @@ Runner:deploy: INST_NAME: Maat.Installer only: - main - - develop needs: ["Runner:build"] before_script: - *nuget-fix