Only upload docs for CI build and not pull requests (GH-6945)

This commit is contained in:
Steve Dower 2018-05-17 13:38:15 -04:00 committed by GitHub
parent 273f51f5ca
commit 48b1f3773c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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