Skip to content

Merge pull request #205 from dwreeves/add-macports-note #32

Merge pull request #205 from dwreeves/add-macports-note

Merge pull request #205 from dwreeves/add-macports-note #32

Workflow file for this run

name: Build docs
on:
workflow_dispatch:
push:
branches:
- main
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
rich_codex:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install requirements for docs
run: |
pip install -U uv
uv pip install --system --editable ".[docs]"
- name: Generate terminal images with rich-codex
uses: ewels/rich-codex@v1
with:
commit_changes: "true"
clean_img_paths: docs/images/*.svg
skip_git_checks: "true"
- name: Build and deploy docs
run: mkdocs gh-deploy --force