From aa94b5904ab4b8d60d8411c22d87cc10ceb7fe0a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 25 May 2021 18:41:51 +0200 Subject: [PATCH] Aggiunta fase di release (test preliminare) --- .gitlab-ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fcc244c..5dd9da90 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,15 +42,16 @@ test: script: - dotnet test -# release: -# stage: release -# only: -# - master -# artifacts: -# paths: -# - publish/ -# script: -# - dotnet publish -c Release -o ../publish MyApp/MyApp.csproj +release: + stage: release + only: + - Deploy_CI_CD + # - master + artifacts: + paths: + - publish/ + script: + - dotnet publish -c Release -o ../publish MP.Stats/MP.Stats.csproj