Skip to content

Disable broken-link-check and check_typos workflows #10

Disable broken-link-check and check_typos workflows

Disable broken-link-check and check_typos workflows #10

Workflow file for this run

name: deploy-book
# Only run this when the branch listed below changes
on:
push:
branches:
- main
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install dependencies
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r book-requirements-Linux-macOS.txt
# Build the book
- name: Build the book
run: |
jupyter-book build .
# Deploy to gh-pages branch
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html