Skip to content

addec CI

addec CI #1

Workflow file for this run

name: Build and Deploy Jupyter Book
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
concurrency:
group: deploy-jupyter-book
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install jupyter-book ghp-import
- name: Build Jupyter Book
run: jupyter-book build .
- name: Deploy to GitHub Pages
run: ghp-import -n -p -f _build/html