Skip to content

[doc] add debug info in doc build workflow #6

[doc] add debug info in doc build workflow

[doc] add debug info in doc build workflow #6

name: sphinx build doc html
on:
push:
branches:
- main
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 docs/requirements.txt
- name: Build HTML
run: |
pwd
ls -al
cd docs
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
force_orphan: true