Skip to content

bedrock fix

bedrock fix #30

name: build documentation
on:
push:
pull_request:
- main
paths:
- 'docs/**'
- 'notebooks/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: write
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: pyproject.toml
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-docs
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install ".[docs]"
- name: build documentation
run: make docs-build