Skip to content

Create fresh deploy workflow #1

Create fresh deploy workflow

Create fresh deploy workflow #1

Workflow file for this run

name: Build and Deploy Jupyter Book
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: pip install -r book-requirements-Linux-macOS.txt
- name: Build book
run: jupyter-book build .
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html