Skip to content

feat: gitbook 目录折叠 #6

feat: gitbook 目录折叠

feat: gitbook 目录折叠 #6

Workflow file for this run

name: Build and Deploy GitBook
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '6.14.4'
- name: Install GitBook CLI
run: npm install -g gitbook-cli
- name: Install GitBook plugins
run: gitbook install
- name: Build GitBook
run: gitbook build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book