diff --git a/ci-vstsdashboardbuild.yml b/ci-vstsdashboardbuild.yml index c3499ab5..c21800ea 100644 --- a/ci-vstsdashboardbuild.yml +++ b/ci-vstsdashboardbuild.yml @@ -4,6 +4,8 @@ trigger: - master - Issue* - Delivery* +- feature/* +- dependatbot/* pr: - master @@ -69,6 +71,15 @@ stages: - stage: ExpertaPrivatePreview dependsOn: Build + condition: and( + succeeded(), + or( + eq(variables['build.sourceBranch'], 'refs/heads/master') + , eq(variables['build.sourceBranch'], 'refs/heads/feature/*') + , eq(variables['build.sourceBranch'], 'refs/heads/Issue*') + , eq(variables['build.sourceBranch'], 'refs/heads/Delivery/*') + ) + ) jobs: - deployment: DeployExtension pool: