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:
15
15
16
16
# https://github.com/actions/setup-node
17
17
- name : Install Node.js
18
-
18
+ uses : actions/setup-node@v2-beta
19
+ with :
20
+ node-version : ' 14'
19
21
20
22
# https://github.com/actions/checkout
21
23
- name : Checkout
22
24
uses : actions/checkout@v2
23
25
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
26
28
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
31
33
32
34
# https://github.com/crazy-max/ghaction-github-pages
33
35
- name : Push to GitHub Pages
You can’t perform that action at this time.
0 commit comments