Add man pages into CI

This commit is contained in:
George Melikov
2020-06-02 21:16:52 +03:00
parent b3c8a7a868
commit 5e36cf93a8
2 changed files with 20 additions and 4 deletions

View File

@@ -7,7 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
- 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 python3-pip && pip install -r docs/requirements.txt"
pre-build-command: "apt-get update -y && apt-get install -y git"
docs-folder: "docs/"