1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Ensure pushing builds to Github is only done on master branch

This commit is contained in:
Zion Nimchuk 2020-08-15 18:30:25 -07:00 committed by Ani
parent cd94d9849d
commit acee590733

View File

@ -101,7 +101,7 @@ jobs:
artifact: RPCS3 for Windows artifact: RPCS3 for Windows
- bash: .ci/github-upload-windows.sh - 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 displayName: Push build to GitHub
env: env:
RPCS3_TOKEN: $(RPCS3-Token) RPCS3_TOKEN: $(RPCS3-Token)