Skip to content

gui task params (#505) #133

gui task params (#505)

gui task params (#505) #133

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