diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-17 18:30:09 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2018-05-17 18:30:09 (GMT) |
commit | 346762698cc6a5e9a47fa6a9e5dbb0491112e508 (patch) | |
tree | 8a8e5dbcfaa13dfda456dbef507636ba3aacb32b /.vsts | |
parent | 0d8f83f59c8f4cc7fe125434ca4ecdcac111810f (diff) | |
download | cpython-346762698cc6a5e9a47fa6a9e5dbb0491112e508.zip cpython-346762698cc6a5e9a47fa6a9e5dbb0491112e508.tar.gz cpython-346762698cc6a5e9a47fa6a9e5dbb0491112e508.tar.bz2 |
Only upload docs for CI build and not pull requests (GH-6945) (GH-6948)
(cherry picked from commit 48b1f3773cecb0aec2b14d972bf8453e4e8f807f)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Diffstat (limited to '.vsts')
-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 |