aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/justfile b/justfile
index f9fb1bd..df3d9d5 100644
--- a/justfile
+++ b/justfile
@@ -72,6 +72,11 @@ restart SERVER:
ship SERVER: (deploy SERVER) (restart SERVER)
@echo "model shipped; serve restarted — watch /api/status next run"
+# Full model refresh: retrain + ship in one verb (no report gate — eyeball
+# report.json first if unsure, or use `retrain` + `ship` separately)
+refresh SERVER: retrain (ship SERVER)
+ @echo "refreshed: retrained locally + model shipped to {{SERVER}}"
+
# Trigger an out-of-schedule poll (serialized + cooldown-gated server-side)
poll-now URL:
curl -sS -X POST {{URL}}/api/poll