Skip to content

Merge branch 'dev'

Merge branch 'dev' #1

name: sphinx build doc html
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-html:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
pwd
ls -al
python -m pip install --upgrade pip
pip install -r doc/user/requirements.txt
- name: Build HTML
run: |
pwd
ls -al
cd doc/user
make clean
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/user/_build/html
force_orphan: true