mirror of
https://github.com/metosin/reitit.git
synced 2026-02-07 12:23:12 +00:00
Fix gitbook-cli install
This commit is contained in:
parent
964bd47aeb
commit
8a411b13de
1 changed files with 2 additions and 1 deletions
|
|
@ -29,13 +29,14 @@ jobs:
|
||||||
- image: circleci/node:latest
|
- image: circleci/node:latest
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run: rm package.json package-lock.json
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- 'v1-gitbook-{{ checksum "book.json" }}'
|
- 'v1-gitbook-{{ checksum "book.json" }}'
|
||||||
- 'v1-gitbook-'
|
- 'v1-gitbook-'
|
||||||
- run:
|
- run:
|
||||||
name: "Install GitBook"
|
name: "Install GitBook"
|
||||||
command: npm install -g gitbook-cli && gitbook install
|
command: npm install gitbook-cli && ./node_modules/.bin/gitbook install
|
||||||
- run:
|
- run:
|
||||||
name: "Clone gh-pages"
|
name: "Clone gh-pages"
|
||||||
command: git clone --branch gh-pages git@github.com:metosin/reitit.git ~/gh-pages
|
command: git clone --branch gh-pages git@github.com:metosin/reitit.git ~/gh-pages
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue