Spaces:
Sleeping
Sleeping
Commit History
-
ci(modal): auto-deploy the judge on push to main (#34)
Ben Blaker +1: Claude Opus 4.8 (1M context)Unverified signatureA deployed Modal app is a snapshot of the code at `modal deploy` time, so the GPU judge doesn't update until it's redeployed. Wire that into CI: on push to main touching modal_judge.py (and via manual workflow_dispatch), run `modal deploy modal_judge.py`. - Path-filtered to modal_judge.py so unrelated UI/audio commits don't trigger pointless redeploys. - Runner only installs the `modal` CLI; torch/transformers build remotely on Modal's builders, so the job is cheap. - The stable *.modal.run URL is unchanged by redeploys, so the HF Space's MODAL_JUDGE_URL secret needs no coordination. Requires repo secrets MODAL_TOKEN_ID / MODAL_TOKEN_SECRET (Modal dashboard → Settings → API Tokens). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>17c3e5f