Skip to content

ENH: Allow RMS wellbores to share SMDA targets #240

ENH: Allow RMS wellbores to share SMDA targets

ENH: Allow RMS wellbores to share SMDA targets #240

Workflow file for this run

name: Build docs
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
concurrency:
group: github-pages
cancel-in-progress: true
jobs:
build_docs:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Install uv and set Python
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
python-version: "3.11"
- name: Install fmu-settings
run: uv sync --extra docs --frozen
- name: Build documentation with sphinx
run: uv run sphinx-build -b html docs/src build/docs/html -j auto
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: build/docs/html
deploy_docs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build_docs
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0