Only upload docs for CI build and not pull requests (GH-6945)
This commit is contained in:
parent
273f51f5ca
commit
48b1f3773c
|
@ -37,6 +37,7 @@ steps:
|
|||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish build'
|
||||
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
||||
inputs:
|
||||
PathToPublish: '$(build.sourcesDirectory)/Doc/build'
|
||||
ArtifactName: build
|
||||
|
|
Loading…
Reference in New Issue