You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: appveyor.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,8 +76,7 @@ environment:
76
76
77
77
on_success:
78
78
- ps: |
79
-
echo APPVEYOR_PULL_REQUEST_NUMBER
80
-
if ($env:APPVEYOR_REPO_BRANCH -eq "master")
79
+
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -and $env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null) # branch only builds pr request number will be null, this ensures deployment only when it's non-pr master branch build
0 commit comments