Skip to content

Harden intrinsic calibration #342

Harden intrinsic calibration

Harden intrinsic calibration #342

Workflow file for this run

name: mkdocs
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# git-revision-date-localized reads commit history; a shallow clone
# makes it warn, which --strict would treat as a failure.
fetch-depth: 0
- uses: actions/setup-python@v7
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: mkdocs build --strict
deploy:
needs: build
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: 3.x
- uses: actions/cache@v6
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: mkdocs gh-deploy --force