forked from missytake/team-bot
renamed variable which I copy-pasted from xdcget
This commit is contained in:
parent
56b87fb7d1
commit
05bb1d162c
|
@ -17,7 +17,7 @@ def deploy_teams_bot(
|
||||||
:param dbdir: the directory where the bot's data will be stored. default: ~/.config/teams-bot/email@example.org
|
:param dbdir: the directory where the bot's data will be stored. default: ~/.config/teams-bot/email@example.org
|
||||||
"""
|
"""
|
||||||
|
|
||||||
clone_xdcget = git.repo(
|
clone_repo = git.repo(
|
||||||
name="Pull the teams-bot repository",
|
name="Pull the teams-bot repository",
|
||||||
src="https://git.0x90.space/missytake/teams-bot",
|
src="https://git.0x90.space/missytake/teams-bot",
|
||||||
dest=f"/home/{unix_user}/teams-bot",
|
dest=f"/home/{unix_user}/teams-bot",
|
||||||
|
@ -26,7 +26,7 @@ def deploy_teams_bot(
|
||||||
_use_su_login=True,
|
_use_su_login=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
if clone_xdcget.changed:
|
if clone_repo.changed:
|
||||||
server.script(
|
server.script(
|
||||||
name="Setup virtual environment for teams-bot",
|
name="Setup virtual environment for teams-bot",
|
||||||
src=importlib.resources.files(__package__)
|
src=importlib.resources.files(__package__)
|
||||||
|
|
Loading…
Reference in a new issue