Files
openzfs-docs/.github/workflows/publish.yml
George Melikov 1f2ff88863 Use upstream sphinx-notfound-page module instead of fork
We waited for changes to make 404s work properly
(absolute links with prefix).
It's in master now, use it.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2021-10-24 21:07:32 +03:00

32 lines
726 B
YAML

name: Publish Github Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- 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:
docs-folder: "docs/"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
force_orphan: true