pyinfra: renamed env variables
This commit is contained in:
parent
4399da4bf2
commit
15b0a65653
|
|
@ -41,8 +41,8 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str
|
||||||
if not dbdir:
|
if not dbdir:
|
||||||
dbdir = f"/home/{unix_user}/.config/teams_bot/{bot_email}/"
|
dbdir = f"/home/{unix_user}/.config/teams_bot/{bot_email}/"
|
||||||
secrets = [
|
secrets = [
|
||||||
f"addr={bot_email}",
|
f"TEAMS_INIT_EMAIL={bot_email}",
|
||||||
f"mail_pw={bot_passwd}",
|
f"TEAMS_INIT_PASSWORD={bot_passwd}",
|
||||||
f'TEAMS_DBDIR={dbdir}',
|
f'TEAMS_DBDIR={dbdir}',
|
||||||
]
|
]
|
||||||
env = "\n".join(secrets)
|
env = "\n".join(secrets)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue