Browse Source

Deploy only when a tag is set

Julien Deswaef 6 năm trước cách đây
mục cha
commit
d069b23f3e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: