Skip to content

Commit d27bc91

Browse files
Only upload docs for CI build and not pull requests (GH-6945)
(cherry picked from commit 48b1f37) Co-authored-by: Steve Dower <[email protected]>
1 parent 56882db commit d27bc91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.vsts/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ steps:
3737

3838
- task: PublishBuildArtifacts@1
3939
displayName: 'Publish build'
40+
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
4041
inputs:
4142
PathToPublish: '$(build.sourcesDirectory)/Doc/build'
4243
ArtifactName: build

0 commit comments

Comments
 (0)