Skip to content

Readme edits

Readme edits #59

Workflow file for this run

name: Build Docs
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install hatch
run: |
python -m pip install --upgrade pip
python -m pip install hatch
- name: Build documentation
run: |
hatch run docs:build
- name: Upload docs artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_site
deploy:
needs: build-docs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4