18cddd2046
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v1...v2.3.1) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
27 lines
660 B
YAML
27 lines
660 B
YAML
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:
|
|
- 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
|