-
Notifications
You must be signed in to change notification settings - Fork 37
41 lines (36 loc) · 926 Bytes
/
pdoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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-13, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/[email protected]
with:
submodules: recursive
persist-credentials: false
- uses: actions/[email protected]
with:
python-version: "3.12"
- run: |
pip install pdoc nbformat gitpython
pip install -e .
pip install -e examples
python -We docs/generate_html.py . .
- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
uses: JamesIves/[email protected]
with:
branch: pdoc
folder: html
clean: true