Skip to content

limit workflow runs #131

limit workflow runs

limit workflow runs #131

name: Docs
on:
push:

Check failure on line 3 in .github/workflows/documentation.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/documentation.yaml

Invalid workflow file

You have an error in your yaml syntax on line 3
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