Skip to content

Commit cffa9d3

Browse files
author
Evans Aboge (from Dev Box)
committed
Fix trigger branch
1 parent e61a4a9 commit cffa9d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ trigger:
77
include:
88
- main
99
- support/v1
10-
- task/move-to-deploy-stage
1110
tags:
1211
include:
1312
- 'v*'
@@ -23,7 +22,7 @@ variables:
2322
ProductBinPath: '$(Build.SourcesDirectory)\src\Microsoft.OpenApi\bin\$(BuildConfiguration)'
2423
REGISTRY: 'msgraphprodregistry.azurecr.io'
2524
IMAGE_NAME: 'public/openapi/hidi'
26-
PREVIEW_BRANCH: 'refs/heads/task/move-to-deploy-stage'
25+
PREVIEW_BRANCH: 'refs/heads/main'
2726

2827
resources:
2928
repositories:
@@ -199,7 +198,7 @@ extends:
199198
targetFolder: $(Build.ArtifactStagingDirectory)/Nugets
200199
sourceFolder: $(Build.ArtifactStagingDirectory)
201200
content: '*.nupkg'
202-
201+
203202
- stage: deploy
204203
condition: and(or(contains(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], variables['PREVIEW_BRANCH'])))
205204
dependsOn: build

0 commit comments

Comments
 (0)