1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-28 15:32:20 +00:00
2022-02-04 18:35:39 +08:00

18 lines
709 B
YAML

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
publish_branch: gh-pages
time_zone: Asia/Shanghai