Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

jobs:
build:
name: Build Gitbook
runs-on: ubuntu-latest
steps:
# Check out the repo first
- name: Checkout code
uses: actions/checkout@v2
# Run this action to publish gitbook
- name: Publish
uses: tuliren/publish-gitbook@v1.0.1
with:
# specify either github_token or personal_token
github_token: ${{ secrets.GITHUB_TOKEN }}
# personal_token: ${{ secrets.PERSONAL_TOKEN }}