diff --git a/fabfile.py b/fabfile.py index 9ad7f871..8bcff1c2 100644 --- a/fabfile.py +++ b/fabfile.py @@ -53,12 +53,13 @@ def collectstatic(): def deploy(branch=None): - fetch() - install_requirements() - migrate() - collectstatic() - touch() - kill_celery() + if env.roledefs[role]['branch'] !='develop': + fetch() + install_requirements() + migrate() + collectstatic() + touch() + kill_celery() def rev():