publish gitbook

This commit is contained in:
pocketW 2022-07-28 20:15:05 +10:00
parent 6d6ceaf35f
commit 93d858b248
2 changed files with 19 additions and 0 deletions

16
.github/gitbook-publish.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: 'Gitbook Action Build'
on:
push:
branches:
- master # trigger branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout action
uses: actions/checkout@v2
- name: Gitbook Action # https://github.com/ZanderZhao/gitbook-action/releases
uses: ZanderZhao/gitbook-action@v1.2.4 # -> or ZanderZhao/gitbook-action@master. If not use master click above, use latest please
with: # or fork this repo and use YourName/gitbook-action@master
token: ${{ secrets.PERSONAL_TOKEN }} # -> remember add this in settings/secrets as following
prepare_install: gitbook install

3
book.json Normal file
View File

@ -0,0 +1,3 @@
{
"plugins": ["hints"]
}