diff --git a/fabfile.py b/fabfile.py index 8bcff1c2..595a0903 100644 --- a/fabfile.py +++ b/fabfile.py @@ -53,6 +53,7 @@ def collectstatic(): def deploy(branch=None): + role = env.roles[0] if env.roledefs[role]['branch'] !='develop': fetch() install_requirements()