Skip to content

Ice thermal conductivity kinetic correction fix and example revision #3840

Ice thermal conductivity kinetic correction fix and example revision

Ice thermal conductivity kinetic correction fix and example revision #3840

Workflow file for this run

name: pdoc
defaults:
run:
shell: bash
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'
jobs:
pdoc:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4.1.6
with:
submodules: recursive
persist-credentials: false
- uses: actions/setup-python@v7.0.0
with:
python-version: "3.12"
- name: exclude pvpython scripts
run: grep -rl '^#!/usr/bin/env pvpython' examples/PySDM_examples | xargs rm -f
- run: pip install pdoc nbformat gitpython
- run: pip install -e .[CI_version_pins]
- run: pip install -e examples[CI_version_pins]
- run: python -We docs/generate_html.py . .
- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
branch: pdoc
folder: html
clean: true