chore: update landing page copy, improve code formatting, and add PyPI publish workflow
This commit is contained in:
@@ -34,6 +34,28 @@ jobs:
|
||||
- name: Run Ruff (Lint & Syntax Check)
|
||||
run: uv run ruff check src
|
||||
|
||||
publish-pypi:
|
||||
name: Publish to PyPI
|
||||
needs: lint
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v2
|
||||
with:
|
||||
version: "latest"
|
||||
|
||||
- name: Build package
|
||||
run: uv build
|
||||
|
||||
- name: Publish to PyPI
|
||||
run: uv publish --token ${{ secrets.PYPI_TOKEN }}
|
||||
env:
|
||||
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
|
||||
build-and-push:
|
||||
name: Build & Push Docker Image
|
||||
needs: lint
|
||||
|
||||
Reference in New Issue
Block a user