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: