-
Notifications
You must be signed in to change notification settings - Fork 103
68 lines (65 loc) · 2.03 KB
/
honkit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Honkit test
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v3
with:
ref: main
- name: Install honkit and dependencies
run: |
sudo apt -y install libgif-dev calibre npm nodejs
sudo npm config set strict-ssl false
sudo npm cache clean -f
npm install honkit
- name: Install plugin-github
run: |
npm install gitbook-plugin-github
- name: Install plugin-atoc
run: |
npm install gitbook-plugin-atoc
- name: Install plugin-anchors
run: |
npm install gitbook-plugin-anchors
- name: Install plugin-alerts
run: |
npm install gitbook-plugin-alerts
- name: Install plugin-search
run: |
npm install gitbook-plugin-search
- name: Install plugin-gist
run: |
npm install gitbook-plugin-gist
- name: Install plugin-image-class
run: |
npm install gitbook-plugin-image-class
- name: Install plugin-codesnippet
run: |
npm install gitbook-plugin-codesnippet
- name: Install plugin-last-modified
run: |
npm install gitbook-plugin-last-modified
- name: Install plugin-fontsettings
run: |
npm install gitbook-plugin-fontsettings
- name: Install plugin-sitemap
run: |
npm install gitbook-plugin-sitemap
- name: Install plugin-advanced-emoji
run: |
npm install gitbook-plugin-advanced-emoji
- name: Run honkit build
run: |
npx honkit build
- name: Run honkit epub
run: |
npx honkit epub
- name: Run honkit mobi
run: |
npx honkit mobi
- name: Run honkit pdf
run: |
npx honkit pdf