Skip to content

Commit

Permalink
ci: try to fix gitbook deploy after testing via ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
swederik committed Sep 14, 2021
1 parent b8fa6ce commit 6fed2aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
publish_docs:
working_directory: ~/repo
docker:
- image: circleci/ruby:3.0.2-node
- image: cimg/ruby:3.0.2-node
environment:
BUNDLE_PATH: ~/repo/vendor/bundle
steps:
Expand Down
12 changes: 6 additions & 6 deletions .circleci/update-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ ls
#npm run docs:api

# Try to patch Gitbook's broken deep dependency on graceful-fs
npm install npm@latest --save
npm install --save gitbook-cli
ls node_modules
cd ./node_modules/gitbook-cli/node_modules/npm
cd ./node_modules/npm
npm install [email protected] --save
cd ../../
ls
ls ./bin
./bin/gitbook.js fetch
cd ../../
cd ./node_modules/gitbook-cli/node_modules/npm
npm install [email protected] --save
cd ../../../../
./node_modules/gitbook-cli/bin/gitbook.js fetch

# Generate latest output
# Clear previous output, generate new
Expand Down
1 change: 0 additions & 1 deletion docs/book.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"-fontsettings",
"github",
"ga",
"sitemap",
"anchors"
],
"pluginsConfig": {
Expand Down

0 comments on commit 6fed2aa

Please sign in to comment.