gluon/.github/workflows/build-docs.yml

27 lines
660 B
YAML
Raw Normal View History

name: Build Documentation
on:
push:
paths:
- 'docs/**'
- '.github/workflows/build-docs.yml'
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'docs**/'
- '.github/workflows/build-docs.yml'
jobs:
build-documentation:
name: docs
runs-on: ubuntu-latest
steps:
2021-08-10 19:06:33 +00:00
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo pip3 install sphinx-rtd-theme
- name: Build documentation
run: make -C docs html
- name: Archive build output
uses: actions/upload-artifact@v2.3.1
with:
name: docs_output
path: docs/_build/html