Skip to content

Merge pull request #530 from int-brain-lab/hotfix/8.11.3 #137

Merge pull request #530 from int-brain-lab/hotfix/8.11.3

Merge pull request #530 from int-brain-lab/hotfix/8.11.3 #137

name: Docs
on:
push:
branches: [iblrigv8, docs]
paths:
- '.github/workflows/documentation.yaml'
- 'docs/**'
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Install dependencies
run: |
pip install --editable .[DEV]
- name: Sphinx build
run: |
sphinx-build docs/source docs/build/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