Skip to content

Commit 2858cf8

Browse files
authored
Do not publish to the nightly MSDocs branch if nightly PublishPackages fails (#36787)
1 parent 33be259 commit 2858cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/pipelines/templates/stages/archetype-python-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ stages:
327327
328328
- job: PublishDocsToNightlyBranch
329329
dependsOn: PublishPackages
330-
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))
330+
condition: and(succeeded(), or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))))
331331
pool:
332332
image: azsdk-pool-mms-ubuntu-2004-1espt
333333
name: azsdk-pool-mms-ubuntu-2004-general

0 commit comments

Comments
 (0)