Skip to content

feat: schedule inference by priority and user #2552

feat: schedule inference by priority and user

feat: schedule inference by priority and user #2552

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
paths:
- "docs/**"
- "properdocs.yml"
- "pyproject.toml"
- "uv.lock"
- "hawk/hawk/cli/**"
- "hawk/hawk/client/**"
- "hawk/hawk/core/types/**"
- "docs/mkdocs_click_compact.py"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "docs/**"
- "properdocs.yml"
- "pyproject.toml"
- "uv.lock"
- "hawk/hawk/cli/**"
- "hawk/hawk/client/**"
- "hawk/hawk/core/types/**"
- "docs/mkdocs_click_compact.py"
- ".github/workflows/docs.yml"
permissions:
contents: read
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.13"
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
with:
version: "0.12.3"
save-cache: ${{ github.ref == 'refs/heads/main' }}
- run: uv sync --locked --extra docs
- run: uv run properdocs build --strict
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
if: github.event_name == 'push'
with:
path: site
deploy:
if: github.event_name == 'push'
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@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1