Files
PINA/.github/workflows/testing_doc.yml
Workflow config file is invalid. Please check your config file: yaml: line 25: mapping values are not allowed in this context
2024-10-22 15:41:24 +02:00

32 lines
545 B
YAML

name: Test Sphinx Documentation Build
on:
push:
branches:
- "master"
paths:
- 'docs/**'
pull_request:
branches:
- "master"
paths:
- 'docs/**'
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: ammaraskar/sphinx-action@7.4.7
pre-build-command: "python3 -m pip install .[docs]"
docs-folder: "docs/"
- name: Build Sphinx documentation
run: |
cd docs
make html