HOS-400: adding support for config (#4540)

* HOS-400: adding support for config

* ruff

---------

Co-authored-by: simon <simon@reflex.dev>
This commit is contained in:
Simon Young 2025-01-03 15:15:13 -08:00 committed by GitHub
parent 879dcbd1bf
commit 4b89b8260b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -485,6 +485,11 @@ def deploy(
"--token",
help="token to use for auth",
),
config_path: Optional[str] = typer.Option(
None,
"--config",
help="path to the config file",
),
):
"""Deploy the app to the Reflex hosting service."""
from reflex_cli.utils import dependency
@ -540,6 +545,7 @@ def deploy(
loglevel=type(loglevel).INFO, # type: ignore
token=token,
project=project,
config_path=config_path,
)