Files
openzfs-docs/.github/workflows/pull_request.yml
George Melikov a92926d868 Save built docs as artifact for easier review (#48)
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-08-26 20:39:17 +03:00

26 lines
642 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_sphinx
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "apt-get update -y && apt-get install -y git"
docs-folder: "docs/"
- uses: actions/upload-artifact@v2
with:
name: DocumentationHTML
path: docs/_build/html/