pyinfra: this order is prettier with most deployments
This commit is contained in:
parent
82b1fd8c01
commit
39e81f74b5
|
@ -41,9 +41,9 @@ 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'TEAMS_DBDIR={dbdir}',
|
||||||
f"TEAMS_INIT_EMAIL={bot_email}",
|
f"TEAMS_INIT_EMAIL={bot_email}",
|
||||||
f"TEAMS_INIT_PASSWORD={bot_passwd}",
|
f"TEAMS_INIT_PASSWORD={bot_passwd}",
|
||||||
f'TEAMS_DBDIR={dbdir}',
|
|
||||||
]
|
]
|
||||||
env = "\n".join(secrets)
|
env = "\n".join(secrets)
|
||||||
files.put(
|
files.put(
|
||||||
|
|
Loading…
Reference in a new issue