Skip to content

[DOCS][TEST] Expand docs to tests and fix some tests #9

[DOCS][TEST] Expand docs to tests and fix some tests

[DOCS][TEST] Expand docs to tests and fix some tests #9

Workflow file for this run

name: Sphinx build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install nox
- name: Build HTML
run: nox -s build-docs -- novelai_api
- name: Deploy on Github Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
# Add a deploy on RTD ?