瀏覽代碼

Fix deploy conditions

Peter Squicciarini 7 年之前
父節點
當前提交
1e7de47159
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      .travis.yml

+ 4 - 3
.travis.yml

@@ -9,8 +9,8 @@ node_js: "8"
 
 before_install:
   - ./install_deps.sh
-  - . get_repo.sh
-  - . check_tags.sh
+  - ./get_repo.sh
+  - ./check_tags.sh
 
 script:
   - ./build.sh
@@ -25,4 +25,5 @@ deploy:
   file_glob: true
   file: ./*.zip
   on:
-    condition: "$SHOULD_BUILD = yes"
+    all_branches: true
+    condition: $SHOULD_BUILD = yes