micropython/.github/workflows/docs.yml
David Lechner eeca2c3cbe github: Add GitHub action to build docs.
This builds docs, but only on pull requests that change a file in the
docs/ directory.
2020-06-05 21:42:10 +10:00

19 lines
307 B
YAML

name: Build docs
on:
pull_request:
paths:
- docs/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Install Python packages
run: pip install Sphinx
- name: Build docs
run: make -C docs/ html