瀏覽代碼

Deploy only when a tag is set

Julien Deswaef 6 年之前
父節點
當前提交
d069b23f3e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -15,9 +15,9 @@ deploy:
     github-token: $GITHUB_TOKEN
     keep-history: true
     local-dir: _site
-    target-branch: gh-pages-test 
     on:
       branch: master
+      tags: true
 
 # blocklist
 branches: