We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 717b212 + 0060e60 commit de00d01Copy full SHA for de00d01
.azure-pipelines/ci-build.yml
@@ -132,6 +132,7 @@ extends:
132
allowPackageConflicts: true
133
- stage: 'Deploy_to_PsGallery'
134
dependsOn: stage
135
+ condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main')) # Only deploy to PSGallery on main branch
136
jobs:
137
- deployment: 'DeployToPowerShellGallery'
138
displayName: 'Deploy to PowerShell Gallery'
0 commit comments