From d0652c52c5bfe05dcc24c4e88f9734d51ed260b6 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 11 May 2023 12:54:26 +0200 Subject: [PATCH] YAML: - aggiunta pubblicazione UI --- .gitlab-ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7069204..97e5eda 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,25 +112,25 @@ WDC.Api:staging: - dotnet build $env:APP_NAME/$env:APP_NAME.csproj - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj -# WDC.UI:staging: -# stage: staging -# tags: -# - win -# environment: -# name: staging -# url: https://iis01.egalware.com/GPW/WDC.UI -# variables: -# APP_NAME: WebDoorCreator.UI -# SOL_NAME: WebDoorCreator.UI -# only: -# - develop -# needs: ["WDC.UI:build"] -# before_script: -# - *nuget-fix -# - dotnet restore "$env:SOL_NAME.sln" -# script: -# - dotnet build $env:APP_NAME/$env:APP_NAME.csproj -# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj +WDC.UI:staging: + stage: staging + tags: + - win + environment: + name: staging + url: https://iis01.egalware.com/GPW/WDC.UI + variables: + APP_NAME: WebDoorCreator.UI + SOL_NAME: WebDoorCreator.UI + only: + - develop + needs: ["WDC.UI:build"] + before_script: + - *nuget-fix + - dotnet restore "$env:SOL_NAME.sln" + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=$IIS_PWD -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj # # ---------- DEPLOY ---------- # WDC.Api:deploy: