Fix CI build to use honkit directly

This commit is contained in:
yeasy
2026-03-17 00:23:32 -07:00
parent 608949b9ee
commit bef369dc27
2 changed files with 9 additions and 4 deletions

View File

@@ -15,10 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Build Gitbook
uses: docker://yeasy/docker_practice
- uses: actions/setup-node@v6
with:
args: build
node-version: 20
- name: Install docs dependencies
run: npm install
- name: Build Gitbook
run: npm run honkit:build
- name: Build Gitbook Docker Image
if: github.repository == 'docker-practice/docker_practice'
run: |
@@ -68,7 +71,6 @@ jobs:
run: |
export NODE_OPTIONS=--openssl-legacy-provider
sudo rm -rf _book
npm i
git clone https://github.com/docker-practice/.vuepress .vuepress2
cp -r .vuepress2/. .vuepress/

View File

@@ -7,7 +7,10 @@
"chalk": "^5.6.2",
"commander": "^14.0.3",
"esm": "^3.0.0",
"gitbook-plugin-editlink": "^1.0.2",
"gitbook-plugin-github": "^3.0.0",
"gitbook-plugin-mermaid-gb3": "^2.1.0",
"gitbook-plugin-page-treeview": "^3.0.6",
"honkit": "^6.1.6",
"vuepress": "1.9.10",
"vuepress-plugin-container": "^2.1.5",