Skip to content

Fix hatch version issues #53

Fix hatch version issues

Fix hatch version issues #53

Workflow file for this run

name: Deploy pdoc
on:
push:
branches: main
permissions:
contents: read
concurrency:
group: pdoc
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install package
run: pip install nox
- name: Generate docs
timeout-minutes: 1
run: nox --session pdoc -- --output-directory docs/
- uses: actions/upload-pages-artifact@v2
with:
path: docs/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v2