From 82b1fd8c01d13ca9c55668e08fd8c07a80e3957c Mon Sep 17 00:00:00 2001 From: missytake Date: Mon, 9 Oct 2023 07:49:06 +0200 Subject: [PATCH] pyinfra: specify environment variable --- src/teams_bot/pyinfra.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index 69eda69..8c6fc09 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -43,8 +43,7 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str secrets = [ f"TEAMS_INIT_EMAIL={bot_email}", f"TEAMS_INIT_PASSWORD={bot_passwd}", - f'TEAMS_INIT_DBDIR={dbdir}', - f'TEAMS_RUN_DBDIR={dbdir}', + f'TEAMS_DBDIR={dbdir}', ] env = "\n".join(secrets) files.put(