Skip to content

Commit

Permalink
chore: 暂时只有 2.x 分支 ci 时会重新构建文档
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam authored and iChengbo committed Dec 17, 2019
1 parent acb9623 commit 20e61af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- npm run build
- npm run test
- stage: deploy
if: (branch = master) AND (NOT (type IN (pull_request)))
if: (branch = 2.x) AND (NOT (type IN (pull_request)))
script: yarn run build:docs
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: website/build/taro
on:
branch: master
branch: 2.x

0 comments on commit 20e61af

Please sign in to comment.