Skip to content

Merge pull request #22 from kabirkhan/hatchling/uv #82

Merge pull request #22 from kabirkhan/hatchling/uv

Merge pull request #22 from kabirkhan/hatchling/uv #82

Workflow file for this run

name: Update Documentation
on:
push:
branches:
- main
jobs:
deploy-docs:
name: Build and Deploy Docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
uv venv .venv
source .venv/bin/activate
uv pip install -r ./requirements-dev.txt
- name: Deploy Docs
run: |
source .venv/bin/activate
python -m mkdocs gh-deploy --force