From 15b0a6565392cc03aa961d8286d2b64dc606e7e9 Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 8 Oct 2023 11:57:17 +0200 Subject: [PATCH] pyinfra: renamed env variables --- src/teams_bot/pyinfra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index 2771f75..78f6b69 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -41,8 +41,8 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str if not dbdir: dbdir = f"/home/{unix_user}/.config/teams_bot/{bot_email}/" secrets = [ - f"addr={bot_email}", - f"mail_pw={bot_passwd}", + f"TEAMS_INIT_EMAIL={bot_email}", + f"TEAMS_INIT_PASSWORD={bot_passwd}", f'TEAMS_DBDIR={dbdir}', ] env = "\n".join(secrets)