mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:25:49 +00:00
fixing yaml
This commit is contained in:
parent
9d927fdfb9
commit
29d5df6911
1 changed files with 4 additions and 4 deletions
|
@ -54,8 +54,8 @@ stages:
|
||||||
artifact: drop
|
artifact: drop
|
||||||
|
|
||||||
# Deploy to prod if "isMain" == true
|
# Deploy to prod if "isMain" == true
|
||||||
- stage: Deploy
|
- stage: DeployProd
|
||||||
displayName: Deploy stage
|
displayName: Deploy prod stage
|
||||||
dependsOn: Build
|
dependsOn: Build
|
||||||
condition: and(succeeded(), eq(variables.isMain, true))
|
condition: and(succeeded(), eq(variables.isMain, true))
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -77,8 +77,8 @@ stages:
|
||||||
package: '$(Pipeline.Workspace)/drop/**/target/*.?(war|jar)'
|
package: '$(Pipeline.Workspace)/drop/**/target/*.?(war|jar)'
|
||||||
|
|
||||||
# Deploy to dev if "isMain" == false
|
# Deploy to dev if "isMain" == false
|
||||||
- stage: Deploy
|
- stage: DeployDev
|
||||||
displayName: Deploy stage
|
displayName: Deploy dev stage
|
||||||
dependsOn: Build
|
dependsOn: Build
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
jobs:
|
jobs:
|
||||||
|
|
Loading…
Reference in a new issue