From acee590733c9e3826707816d88cc2210ba66aba0 Mon Sep 17 00:00:00 2001 From: Zion Nimchuk Date: Sat, 15 Aug 2020 18:30:25 -0700 Subject: [PATCH] Ensure pushing builds to Github is only done on master branch --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 96f4956bc3..8745b9e93c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -101,7 +101,7 @@ jobs: artifact: RPCS3 for Windows - bash: .ci/github-upload-windows.sh - condition: and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.Repository.Name'], 'RPCS3/rpcs3')) + condition: and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.Repository.Name'], 'RPCS3/rpcs3'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) displayName: Push build to GitHub env: RPCS3_TOKEN: $(RPCS3-Token)