Files
openzfs-docs/.github/workflows/pull_request.yml
2021-08-23 12:46:06 +03:00

28 lines
731 B
YAML

name: Pull Request Docs Check
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare
run: |
sudo apt-get update -y
sudo apt-get install -y git python3-pip mandoc
pip install -r docs/requirements.txt
- name: Gen_man_pages
run: make man
- name: Gen_feature_matrix
run: make feature_matrix
- name: Gen_sphinx
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "apt-get update -y --allow-releaseinfo-change && apt-get install -y git"
docs-folder: "docs/"
- uses: actions/upload-artifact@v2
with:
name: DocumentationHTML
path: docs/_build/html/