Skip to content

Update book.toml

Update book.toml #158

name: Build and Deploy Book
on:
push:
branches:
- master
# Do not include test-ci, as it deploy mdbook to production
jobs:
build-deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- name: Build Book
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./book