docs: update sample travis-ci config (#2012)

This commit updates the sample Travis CI config used in the docs to
deploy VuePress. Travis CI includes a config linter online and I made
these changes from the feedback from the Travis CI config linter. These
changes work cleanly with the latest API version of Travis CI at time of
commit.

Signed-off-by: Justin W. Flory <git@jwf.io>
This commit is contained in:
Justin W. Flory
2019-11-28 10:20:12 +08:00
committed by meteorlxy
parent 23ce8668d8
commit e35baeb8d0
+3 -3
View File
@@ -80,10 +80,10 @@ script:
- npm run docs:build
deploy:
provider: pages
skip-cleanup: true
skip_cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
keep-history: true
github_token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
keep_history: true
on:
branch: master
```