From 39e81f74b55e4abf908c9312e9e813008dfc43ba Mon Sep 17 00:00:00 2001 From: missytake Date: Mon, 9 Oct 2023 08:46:15 +0200 Subject: [PATCH] pyinfra: this order is prettier with most deployments --- src/teams_bot/pyinfra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index 8c6fc09..48279a1 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -41,9 +41,9 @@ 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'TEAMS_DBDIR={dbdir}', f"TEAMS_INIT_EMAIL={bot_email}", f"TEAMS_INIT_PASSWORD={bot_passwd}", - f'TEAMS_DBDIR={dbdir}', ] env = "\n".join(secrets) files.put(