소스 검색

Do not deploy binaries if we're running a PR

This only happened on PRs that were made by HF members, but still
we certainly don't want to submit them as nightlies
Cauê Waneck 8 년 전
부모
커밋
c535628498
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      tests/RunCi.hx

+ 2 - 1
tests/RunCi.hx

@@ -659,7 +659,8 @@ class RunCi {
 			gitInfo.branch == "master" ||
 			gitInfo.branch == "nightly-travis") &&
 			Sys.getEnv("HXBUILDS_AWS_ACCESS_KEY_ID") != null &&
-			Sys.getEnv("HXBUILDS_AWS_SECRET_ACCESS_KEY") != null
+			Sys.getEnv("HXBUILDS_AWS_SECRET_ACCESS_KEY") != null &&
+			Sys.getEnv("TRAVIS_PULL_REQUEST") != "true"
 		) {
 			if (ci == TravisCI) {
 				runCommand("make", ["-s", "package_unix"]);