mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-08 21:06:42 +10:00
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:
committed by
meteorlxy
parent
23ce8668d8
commit
e35baeb8d0
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user