security: remove leaked bot token from deploy.sh (now from env)

This commit is contained in:
wasrusgen 2026-06-03 10:27:18 +03:00
parent 5a94b2cea3
commit 43fe230d58

View File

@ -6,7 +6,7 @@ set -e
REPO=/opt/elena-deploy REPO=/opt/elena-deploy
APP=/opt/elena-consulting APP=/opt/elena-consulting
PY=$APP/venv/bin/python3 PY=$APP/venv/bin/python3
TG_TOKEN="8767209545:AAEVgfL-bAhg6j0fHUyKWUze4SLTfJbLklM" TG_TOKEN="${TG_TOKEN}"
ADMIN_CHAT_ID="$(grep -E '^ADMIN_CHAT_ID=' "$APP/.env" 2>/dev/null | cut -d= -f2)" ADMIN_CHAT_ID="$(grep -E '^ADMIN_CHAT_ID=' "$APP/.env" 2>/dev/null | cut -d= -f2)"
alert() { alert() {