From 9e6634f1a6e1534966def39c29d8e146693f8236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80=20=D0=93=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=BA=D0=B8=D1=85?= Date: Wed, 30 Oct 2019 10:48:59 +0300 Subject: [PATCH] Fix fab --- fabfile.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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():