File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,21 @@ jobs:
1515
1616 # https://github.com/actions/setup-node
1717 - name : Install Node.js
18- 18+ uses : actions/setup-node@v2-beta
19+ with :
20+ node-version : ' 14'
1921
2022 # https://github.com/actions/checkout
2123 - name : Checkout
2224 uses : actions/checkout@v2
2325
24- # https://github.com/GitbookIO/gitbook/blob/master/docs/setup.md
25- - name : Run Gitbook
26+ # https://github.com/honkit/honkit
27+ - name : Run Honkit
2628 run : |
27- npm install gitbook-cli
28- node ./node_modules/gitbook-cli/bin/gitbook.js build . public --log=debug --debug
29- node ./node_modules/gitbook-cli/bin/gitbook.js pdf . byte-of-python.pdf
30- node ./node_modules/gitbook-cli/bin/gitbook.js epub . byte-of-python.epub
29+ npm install honkit --save-dev
30+ honkit build . public --log=debug --debug
31+ honkit pdf . byte-of-python.pdf
32+ honkit epub . byte-of-python.epub
3133
3234 # https://github.com/crazy-max/ghaction-github-pages
3335 - name : Push to GitHub Pages
You can’t perform that action at this time.
0 commit comments