Skip to content

Commit 8c970c6

Browse files
fix: remove previewBranch param and align deploy stage condition with deploy_maven job
Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-java/sessions/b7a800ea-5b58-481a-89e5-fa85ce699226 Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com>
1 parent e08b2c8 commit 8c970c6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ trigger:
1111
include:
1212
- main
1313

14-
parameters:
15-
- name: previewBranch
16-
type: string
17-
default: "refs/heads/main"
18-
1914
resources:
2015
repositories:
2116
- repository: 1ESPipelineTemplates
@@ -112,7 +107,7 @@ extends:
112107
targetPath: "$(PACKAGE_PATH)"
113108

114109
- stage: deploy
115-
condition: and(or(contains(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['build.sourceBranch'], '${{ parameters.previewBranch }}')), succeeded())
110+
condition: and(contains(variables['build.sourceBranch'], 'refs/tags/v'), succeeded())
116111
dependsOn: build
117112
jobs:
118113
- deployment: deploy_maven

0 commit comments

Comments
 (0)