Skip to content
Snippets Groups Projects
Verified Commit 334f977a authored by Renato Alves's avatar Renato Alves :seedling:
Browse files

Build book on gitlab-pages

parent c57616eb
No related branches found
No related tags found
No related merge requests found
Pipeline #19804 passed with stage
in 1 minute and 35 seconds
image: node:15
variables:
LC_ALL: "C.UTF-8"
MAKEFLAGS: "-j 8"
pages:
stage: deploy
script:
- echo 'prefix = ${HOME}/.npm-packages' > ~/.npmrc
- npm install -g gitbook-cli@2.3.0
- cd ~/.npm-packages/lib/node_modules/gitbook-cli/node_modules/npm
- npm install graceful-fs@4.2.0 --save
- cd -
- ~/.npm-packages/bin/gitbook build .
- mv _book public
artifacts:
paths:
- public
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment