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:
parent
cd94d9849d
commit
acee590733
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user