Skip to content

Commit 669103a

Browse files
committed
docs: update comments in travis config and sycn zh docs
1 parent e35baeb commit 669103a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/docs/docs/guide/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ deploy:
8282
provider: pages
8383
skip_cleanup: true
8484
local_dir: docs/.vuepress/dist
85-
github_token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
85+
github_token: $GITHUB_TOKEN # A token generated on GitHub allowing Travis to push code on you repository. Set in the Travis settings page of your repository, as a secure variable
8686
keep_history: true
8787
on:
8888
branch: master

packages/docs/docs/zh/guide/deploy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ script:
7878
- npm run docs:build
7979
deploy:
8080
provider: pages
81-
skip-cleanup: true
81+
skip_cleanup: true
8282
local_dir: docs/.vuepress/dist
83-
github-token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
84-
keep-history: true
83+
github_token: $GITHUB_TOKEN # 在 GitHub 中生成,用于允许 Travis 向你的仓库推送代码。在 Travis 的项目设置页面进行配置,设置为 secure variable
84+
keep_history: true
8585
on:
8686
branch: master
8787
```

0 commit comments

Comments
 (0)