micropython/.github/workflows/docs.yml
Jeff Epler effb9503eb github/workflows: Use new ci.sh style for calling functions.
During CI, invoke `ci.sh` the same way we'd recommend a developer to do so
locally.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2025-10-02 16:35:40 +10:00

28 lines
532 B
YAML

name: Build docs
on:
push:
pull_request:
paths:
- docs/**
- py/**
- tests/cpydiff/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
- name: Install Python packages
run: pip install -r docs/requirements.txt
- name: Build unix port
run: tools/ci.sh unix_build_helper
- name: Build docs
run: make -C docs/ html