浏览代码

With the proper trigger to deploy this time

Julien Deswaef 6 年之前
父节点
当前提交
9c82cede3f
共有 1 个文件被更改,包括 8 次插入7 次删除
  1. 8 7
      .travis.yml

+ 8 - 7
.travis.yml

@@ -10,13 +10,14 @@ script:
   - npm run build
 
 deploy:
-  provider: pages
-  skip-cleanup: true
-  github-token: $GITHUB_TOKEN
-  keep-history: true
-  local-dir: _site
-  on:
-    branch: gh-pages-test
+  - provider: pages
+    skip-cleanup: true
+    github-token: $GITHUB_TOKEN
+    keep-history: true
+    local-dir: _site
+    target-branch: gh-pages-test 
+    on:
+      branch: master
 
 # blocklist
 branches: