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