mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 00:50:24 +08:00
github: Add GitHub action to build docs.
This builds docs, but only on pull requests that change a file in the docs/ directory.
This commit is contained in:
parent
621f40b12c
commit
eeca2c3cbe
18
.github/workflows/docs.yml
vendored
Normal file
18
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user