Skip to content

v1.5.0a4

v1.5.0a4 #27

name: Deploy API Doc (Pinned)
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '>=3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pdoc
- name: Run Pdoc
run: |
pdoc --favicon "favicon.png" -o dist src/icepool
- name: Copy Favicon
run: |
cp favicon.* dist/
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
target-folder: apidoc/${{github.ref_name}}