diff --git a/Source/build/azure-pipelines.yml b/Source/build/azure-pipelines.yml index f85c1d865..2b45d7945 100644 --- a/Source/build/azure-pipelines.yml +++ b/Source/build/azure-pipelines.yml @@ -58,7 +58,7 @@ stages: - stage: deploy displayName: Deploy Artifacts - condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) jobs: - deployment: MyGet displayName: MyGet.org