diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-05-17 17:38:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 17:38:15 (GMT) |
commit | 48b1f3773cecb0aec2b14d972bf8453e4e8f807f (patch) | |
tree | 0892ad69014de03f246a5fcd7e8d94ecce8b0e8a /.vsts/docs.yml | |
parent | 273f51f5ca9dd0420d327c95281b24078f8feeef (diff) | |
download | cpython-48b1f3773cecb0aec2b14d972bf8453e4e8f807f.zip cpython-48b1f3773cecb0aec2b14d972bf8453e4e8f807f.tar.gz cpython-48b1f3773cecb0aec2b14d972bf8453e4e8f807f.tar.bz2 |
Only upload docs for CI build and not pull requests (GH-6945)
Diffstat (limited to '.vsts/docs.yml')
-rw-r--r-- | .vsts/docs.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.vsts/docs.yml b/.vsts/docs.yml index efa1e87..62f6123 100644 --- a/.vsts/docs.yml +++ b/.vsts/docs.yml @@ -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 |