Skip to content

Commit

Permalink
switch from pdoc3 to pdoc, cleanup CI workflow (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Aug 26, 2024
1 parent d00cbd8 commit 79643db
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/pdoc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: pdoc

defaults:
run:
shell: bash

on:
push:
branches: [ main ]
Expand All @@ -19,17 +23,16 @@ jobs:
persist-credentials: false
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.12
- name: Build
run: |
pip install pdoc3
pip install pdoc
pip install -e .
# FIXME #23: add -We
python -m pdoc --html PyPartMC
PDOC_ALLOW_EXEC=1 python -We -m pdoc -o html PyPartMC
- name: Deploy
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
uses: JamesIves/[email protected]
with:
BRANCH: pdoc
FOLDER: html/PyPartMC
FOLDER: html
CLEAN: true

0 comments on commit 79643db

Please sign in to comment.