From bef369dc2764d51b1b15f90a3f6c05d005d11f3b Mon Sep 17 00:00:00 2001 From: yeasy Date: Tue, 17 Mar 2026 00:23:32 -0700 Subject: [PATCH] Fix CI build to use honkit directly --- .github/workflows/ci.yaml | 10 ++++++---- package.json | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee8f8e0..95248cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/ diff --git a/package.json b/package.json index ca3d3e7..1dd4562 100644 --- a/package.json +++ b/package.json @@ -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",