Skip to content

problem 6

problem 6 #88

Workflow file for this run

name: Publish the book
on:
workflow_dispatch:
push:
branches:
- spring2026
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- name: Set up Python 3.13
uses: actions/setup-python@v1
with:
python-version: 3.13
- name: Build the book
env:
BASE_URL: /${{ github.event.repository.name }}
run: |
pip install -r requirements.txt
jupyter book build --execute --html
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html