From 7b3942658d190a56726a3f3f536914738e188bb5 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Tue, 7 Jul 2026 12:06:12 +0100 Subject: [PATCH] docs: add 5s safety warning before --destroy --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index b027255..1d35ec9 100755 --- a/deploy.sh +++ b/deploy.sh @@ -22,6 +22,12 @@ DOMAIN="${DOMAIN:-nextwks.eu}" # --- Mode detection --- GREENFIELD=false if [ "${1:-}" = "--destroy" ]; then + echo "" + echo "⚠️ WARNING: Greenfield deploy destroys LE certificates and hits Let's Encrypt rate limits!" + echo " Only use --destroy if you understand the consequences." + echo " Press Ctrl+C now to abort, or wait 5 seconds to continue..." + echo "" + sleep 5 GREENFIELD=true echo "[MODE] Greenfield deploy (--destroy)" elif [ ! -d "$TARGET_DIR" ]; then