Skip to content

#116 Add more testing examples (#211) #467

#116 Add more testing examples (#211)

#116 Add more testing examples (#211) #467

Workflow file for this run

name: Build and deploy book
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10.4
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Check book build
run: |
jb build book -W -v --keep-going
- name: "Deploy book to GitHub Pages"
if: startsWith(github.event.ref, 'refs/tags/v')
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/_build/html