Skip to content

Add path to limit CI execution on certain path changes (#398) #74

Add path to limit CI execution on certain path changes (#398)

Add path to limit CI execution on certain path changes (#398) #74

Workflow file for this run

name: docs
on:
push:
branches: [ master ]
paths:
- "docs/**"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependency
run: pip install -r docs/requirements.txt
- name: Build documentation
run: sphinx-build -b html docs/source/ docs/build/