Skip to content

update the CC7 item (#58) #61

update the CC7 item (#58)

update the CC7 item (#58) #61

name: 'Gitbook Action Build'
on:
pull_request:
push:
branches:
- master # trigger branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout action
uses: actions/checkout@v2
- name: Prepare
run: python3 .ci/prepare.py
- name: Gitbook Action # https://github.com/ZanderZhao/gitbook-action/releases
if: github.event_name == 'push'
uses: ZanderZhao/[email protected] # -> 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
- name: Gitbook Action Test
if: github.event_name == 'pull_request'
uses: ZanderZhao/[email protected] # -> 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-test'