update syntax yml
This commit is contained in:
+13
-12
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user