Skip to content

Commit de00d01

Browse files
authored
Merge branch 'dev' into 2973-filter-is-incorrectly-handling-special-characters
2 parents 717b212 + 0060e60 commit de00d01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ extends:
132132
allowPackageConflicts: true
133133
- stage: 'Deploy_to_PsGallery'
134134
dependsOn: stage
135+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main')) # Only deploy to PSGallery on main branch
135136
jobs:
136137
- deployment: 'DeployToPowerShellGallery'
137138
displayName: 'Deploy to PowerShell Gallery'

0 commit comments

Comments
 (0)