mirror of
https://github.com/wasrusgen/wasrusgen1-crm.git
synced 2026-06-03 15:04:47 +00:00
security: remove leaked bot token from deploy.sh (now from env)
This commit is contained in:
parent
5a94b2cea3
commit
43fe230d58
@ -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() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user