Skip to content

Merge pull request #24 from fusion-energy/tidy-vnv-docs #78

Merge pull request #24 from fusion-energy/tidy-vnv-docs

Merge pull request #24 from fusion-energy/tidy-vnv-docs #78

Workflow file for this run

name: Build and deploy docs
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- run: pip install rad_point_kernel_core
- run: pip install -e .[docs]
- uses: ./.github/actions/setup-openmc
- run: mkdocs build --strict
- uses: actions/upload-pages-artifact@v5
with:
path: site
deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5