diff --git a/pyinfra/api/deploy.py b/pyinfra/api/deploy.py index d805ebb55..85cdca64d 100644 --- a/pyinfra/api/deploy.py +++ b/pyinfra/api/deploy.py @@ -139,6 +139,6 @@ def decorated_func(*args, **kwargs): data=deploy_data, deploy_op_order=deploy_op_order, ): - func(*args, **kwargs) + return func(*args, **kwargs) return decorated_func