Make gitbook installation script

commit f83207848fafa302d6385f4814386c433aeb9686
Author: Oleg Kalachev <okalachev@gmail.com>
Date:   Wed Jun 23 17:35:01 2021 +0300

    Make gitbook installation script
This commit is contained in:
Oleg Kalachev
2021-06-23 19:00:32 +03:00
parent 6550780afb
commit 921084504e
3 changed files with 12 additions and 5 deletions

View File

@@ -18,8 +18,7 @@ jobs:
run: |
sudo sh -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections"
sudo apt-get update && sudo apt-get install -y calibre msttcorefonts
npm install gitbook-cli -g
gitbook fetch 3.2.3 && npm i npm@3.10.10 --prefix=~/.gitbook/versions/3.2.3/ # fixing https://travis-ci.org/github/CopterExpress/clover/jobs/766541125#L932
builder/assets/install_gitbook.sh
npm install markdownlint-cli -g
npm install svgexport -g
gitbook -V