mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:05: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
|
||||
|
||||
# Deploy to prod if "isMain" == true
|
||||
- stage: Deploy
|
||||
displayName: Deploy stage
|
||||
- stage: DeployProd
|
||||
displayName: Deploy prod stage
|
||||
dependsOn: Build
|
||||
condition: and(succeeded(), eq(variables.isMain, true))
|
||||
jobs:
|
||||
|
@ -77,8 +77,8 @@ stages:
|
|||
package: '$(Pipeline.Workspace)/drop/**/target/*.?(war|jar)'
|
||||
|
||||
# Deploy to dev if "isMain" == false
|
||||
- stage: Deploy
|
||||
displayName: Deploy stage
|
||||
- stage: DeployDev
|
||||
displayName: Deploy dev stage
|
||||
dependsOn: Build
|
||||
condition: succeeded()
|
||||
jobs:
|
||||
|
|
Loading…
Reference in a new issue