Skip to content

Commit 79643db

Browse files
authored
switch from pdoc3 to pdoc, cleanup CI workflow (#371)
1 parent d00cbd8 commit 79643db

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/pdoc.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: pdoc
22

3+
defaults:
4+
run:
5+
shell: bash
6+
37
on:
48
push:
59
branches: [ main ]
@@ -19,17 +23,16 @@ jobs:
1923
persist-credentials: false
2024
- uses: actions/setup-python@v2
2125
with:
22-
python-version: 3.9
26+
python-version: 3.12
2327
- name: Build
2428
run: |
25-
pip install pdoc3
29+
pip install pdoc
2630
pip install -e .
27-
# FIXME #23: add -We
28-
python -m pdoc --html PyPartMC
31+
PDOC_ALLOW_EXEC=1 python -We -m pdoc -o html PyPartMC
2932
- name: Deploy
3033
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
3134
uses: JamesIves/[email protected]
3235
with:
3336
BRANCH: pdoc
34-
FOLDER: html/PyPartMC
37+
FOLDER: html
3538
CLEAN: true

0 commit comments

Comments
 (0)