pyinfra: specify environment variable
This commit is contained in:
parent
4fcc99a891
commit
82b1fd8c01
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue