No longer deploy dev branch during CI/CD
This commit is contained in:
Родитель
8241c43647
Коммит
c5ad631350
|
@ -24,13 +24,3 @@ jobs:
|
|||
displayName: Gradle Build
|
||||
inputs:
|
||||
jdkVersionOption: 1.11
|
||||
- task: CloudFoundry@1
|
||||
displayName: Deploy
|
||||
inputs:
|
||||
cfEndpoint: PCFone
|
||||
org: group-steeltoe
|
||||
space: initializr
|
||||
deploymentOptions: manifest
|
||||
cfManifest: deploy/cloud-foundry/manifest.yaml
|
||||
condition:
|
||||
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'), not(eq(variables['build.reason'], 'PullRequest')))
|
||||
|
|
Загрузка…
Ссылка в новой задаче