Add man pages into CI
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -10,9 +10,17 @@ 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/"
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
Reference in New Issue
Block a user