Merge pull request #35 from mzxmz/main #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
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 }} |