Jelajahi Sumber

Fix deploy conditions

Peter Squicciarini 7 tahun lalu
induk
melakukan
1e7de47159
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      .travis.yml

+ 4 - 3
.travis.yml

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