From 48b1f3773cecb0aec2b14d972bf8453e4e8f807f Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 17 May 2018 13:38:15 -0400 Subject: [PATCH] Only upload docs for CI build and not pull requests (GH-6945) --- .vsts/docs.yml | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0