From 9818721bce6b9520e77cf7e27e05400eb20c0d85 Mon Sep 17 00:00:00 2001 From: Alireza Hassani Date: Thu, 13 Aug 2026 20:34:02 +0330 Subject: [PATCH] Document standalone Next.js deploy behavior for websites agent. Co-authored-by: Cursor --- scripts/websites-agent/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/websites-agent/README.md b/scripts/websites-agent/README.md index 6b10c79..fdc3a34 100644 --- a/scripts/websites-agent/README.md +++ b/scripts/websites-agent/README.md @@ -14,3 +14,5 @@ # Note: provision.sh intentionally skips certbot. SSL is issued via POST /ssl so # Edit/Add Domain does not hang when www DNS is wrong. # deploy.sh checks out origin/HEAD (falls back to main, then master). +# If the site builds with Next `output: 'standalone'`, deploy copies static/public +# into `.next/standalone`, points PM2 at `server.js`, and removes full `node_modules`.