From b7c9a210b602fc1fcf797bfac76697769c40175f Mon Sep 17 00:00:00 2001 From: AdalbertoMoz Date: Mon, 17 Jun 2024 13:59:33 -0600 Subject: [PATCH] Test: Add invoke command --- tasks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks.py b/tasks.py index 1e8f9b42605..8a446f9aff8 100644 --- a/tasks.py +++ b/tasks.py @@ -585,3 +585,7 @@ def compilemessages(ctx): "../dockerpythonvenv/bin/python manage.py compilemessages", **PLATFORM_ARG, ) + +@task(aliases=["prod-to-review-app"]) +def copy_prod_db_to_review_app(ctx, rewiew_app_name): + ctx.run(f"python ./copy_prod_db_to_review_app.py {rewiew_app_name}")