add foods #102
This file contains 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
name: Build Gitbook | |
on: [push] | |
jobs: | |
build: | |
if: github.ref == 'refs/heads/main' | |
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/[email protected] | |
with: | |
# specify either github_token or personal_token | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# personal_token: ${{ secrets.PERSONAL_TOKEN }} |