Update README.md #571
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build documentation | |
# Deploy of doc is configured from ReadTheDocs | |
name: Build docs for fmu-sumo | |
on: | |
pull_request: | |
branches: [main, docs] | |
push: | |
branches: [main, docs] | |
jobs: | |
build_pywheels: | |
name: Build docs with Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and build docs | |
run: | | |
pip install pip -U && pip install wheel -U | |
pip install .[docs] | |
sphinx-build docs build/sphinx/html |