Skip to content

Commit

Permalink
docs: fix docs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pines-Cheng committed Aug 26, 2019
1 parent bca1733 commit 90200ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: website/build/TaroDocs
local-dir: website/build/taro
on:
branch: master
2 changes: 1 addition & 1 deletion build/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const spinner = ora('Publishing gitbooks...').start()

cp.exec('npm run docs', err => {
if (!err) {
ghPages.publish('./website/build/TaroDocs', err => {
ghPages.publish('./website/build/taro', err => {
if (!err) {
spinner.succeed('Publish successfully.')
} else {
Expand Down

0 comments on commit 90200ba

Please sign in to comment.