From a1648a7e30460eda8f9f7665c26d2b513d53a75d Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 14 Sep 2026 22:51:27 +0200 Subject: [PATCH] docs: pull the release before running update.py update.py does not fetch commits; its --pull flag only refreshes the Docker base images. Co-Authored-By: Claude Opus 5 --- DEPLOY.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEPLOY.md b/DEPLOY.md index 89479c2..6d6f50f 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -379,10 +379,11 @@ If you rely on external sign-in, keep `TRAINING_HUB_ADMIN_USERNAMES` or `TRAININ ## 14) Regular Updates -Upload the changed release files, keep `.env.production`, then run: +`update.py` rebuilds and restarts whatever is checked out; it does not fetch new commits (its `--pull` only refreshes Docker base images). Pull the release first, keep `.env.production`, then run: ```bash cd /srv/scamscreener +git pull --ff-only origin main python3 scripts/update.py ```