Skip to content

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

[doc] add debug info in doc build workflow

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

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
python -m pip install --upgrade pip
pip install -r sgio/docs/requirements.txt
- name: Build HTML
run: |
pwd
cd sgio/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