update config

This commit is contained in:
pocketW 2022-07-28 20:20:50 +10:00
parent 1ec0ca7354
commit ba20453806

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

@ -0,0 +1,17 @@
name: 'Gitbook Action Build'
on:
workflow_dispatch:
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