Skip to content

move bug report yaml file #87

move bug report yaml file

move bug report yaml file #87

name: Publish documentation
on:
release:
types: [published]
push:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
# - uses: ammaraskar/sphinx-action@master
# with:
# docs-folder: docs
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry lock
poetry install
pip install .
- name: Build documentation
run: |
sphinx-build -M html docs/source docs/build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html