2019-07-25 13:39:57 +08:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
lint-gitbook:
|
|
|
|
docker:
|
2019-07-31 18:17:31 +08:00
|
|
|
- image: jimmysong/gitbook-builder:2019-07-31
|
2019-07-25 13:39:57 +08:00
|
|
|
working_directory: ~/gitbook
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Linting the gitbook
|
|
|
|
command: scripts/lint-gitbook.sh
|
|
|
|
markdown-spell-check:
|
|
|
|
docker:
|
2019-07-25 16:58:19 +08:00
|
|
|
- image: jimmysong/gitbook-builder:2019-07-25
|
2019-07-25 13:39:57 +08:00
|
|
|
working_directory: ~/gitbook
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Running markdown spell check
|
|
|
|
command: scripts/mdspell-check.sh
|
|
|
|
markdown-style-check:
|
|
|
|
docker:
|
2019-07-25 16:58:19 +08:00
|
|
|
- image: jimmysong/gitbook-builder:2019-07-25
|
2019-07-25 13:39:57 +08:00
|
|
|
working_directory: ~/gitbook
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Running markdown style check
|
|
|
|
command: scripts/mdl-check.sh
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
workflow:
|
|
|
|
jobs:
|
|
|
|
- lint-gitbook
|
|
|
|
- markdown-spell-check
|
|
|
|
- markdown-style-check
|