24 lines
424 B
YAML
24 lines
424 B
YAML
name: Build docs
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- docs/**
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v4
|
|
- name: Install Python packages
|
|
run: pip install -r docs/requirements.txt
|
|
- name: Build docs
|
|
run: make -C docs/ html
|