Skip to content

Commit e896dc2

Browse files
committed
make travis push to master instead of gh-pages
1 parent 019423c commit e896dc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ node_js:
44
cache: npm
55
branches:
66
only:
7-
- master # build master branch only
7+
- hexo # build master branch only
88
script:
99
- hexo generate # generate static files
1010
deploy:
@@ -13,6 +13,7 @@ deploy:
1313
token: $GH_TOKEN
1414
keep_history: true
1515
on:
16-
branch: master
16+
branch: hexo
1717
local_dir: public
18+
target_branch: master
1819
edge: true

0 commit comments

Comments
 (0)