update syntax yml

This commit is contained in:
Samuele Locatelli
2021-05-26 20:20:42 +02:00
parent f391c7abd8
commit cd98fb6a7e
+13 -12
View File
@@ -43,6 +43,19 @@ test:
script:
- dotnet test
staging:
stage: staging
# only:
# - develop
needs: ["build"]
before_script:
- *nuget-fix
- dotnet restore
script:
- dotnet publish -p:PublishReadyToRun=true -p:m=8 -p:DeployOnBuild=true -p:Targets=Publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:OutputPath=bin/ -verbosity:minimal MP.Stats/MP.Stats.csproj
release:
stage: release
only:
@@ -58,18 +71,6 @@ release:
staging:
stage: staging
# only:
# - develop
needs: ["build"]
before_script:
- *nuget-fix
- dotnet restore
script:
- dotnet publish -p:PublishReadyToRun=true -p:m=8 -p:DeployOnBuild=true -p:Targets=Publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:OutputPath=bin/ -verbosity:minimal MP.Stats/MP.Stats.csproj
# BHS:staging:
# stage: staging
# rules: