fix: Simplify book deployment workflow and remove legacy convert_readmes dependency

This commit is contained in:
Vijay Janapa Reddi
2025-11-08 18:47:02 -05:00
parent db79952cb1
commit 13ea156fb1
2 changed files with 17 additions and 35 deletions

View File

@@ -47,20 +47,13 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install jupyter-book jupytext pytest
pip install jupyter-book
pip install -r book/requirements.txt
pip install -r requirements.txt # Install main project dependencies
pip install -e . # Install tito CLI
- name: Generate content and build book
- name: Build Jupyter Book
run: |
# Create and activate virtual environment for tito
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt # Install all dependencies including rich
pip install -e . # Install tito CLI in virtual environment
# Use tito to generate content and build book
python -m tito.main book build
cd book
jupyter-book build .
- name: Upload book artifact
uses: actions/upload-pages-artifact@v3