mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-23 10:15:24 +00:00
Fix CI build to use honkit directly
This commit is contained in:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -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/
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user