From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 17 May 2018 18:06:03 +0000 (-0700) Subject: Only upload docs for CI build and not pull requests (GH-6945) X-Git-Tag: v3.7.0b5~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d27bc910b503b732cac094338528642e86d4ee00;p=python Only upload docs for CI build and not pull requests (GH-6945) (cherry picked from commit 48b1f3773cecb0aec2b14d972bf8453e4e8f807f) Co-authored-by: Steve Dower --- diff --git a/.vsts/docs.yml b/.vsts/docs.yml index efa1e87165..62f6123adb 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