Merge pull request #3387 from herbetom/main-updates #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
permissions: | |
contents: read | |
jobs: | |
build-documentation: | |
name: docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: sudo pip3 install -r docs/requirements.txt | |
- name: Build documentation | |
run: make -C docs html | |
- name: Archive build output | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs_output | |
path: docs/_build/html |