Aggiunta fase di release (test preliminare)
This commit is contained in:
+10
-9
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user