Fix fab
This commit is contained in:
parent
c9edaaa654
commit
9e6634f1a6
13
fabfile.py
vendored
13
fabfile.py
vendored
|
|
@ -53,12 +53,13 @@ def collectstatic():
|
||||||
|
|
||||||
|
|
||||||
def deploy(branch=None):
|
def deploy(branch=None):
|
||||||
fetch()
|
if env.roledefs[role]['branch'] !='develop':
|
||||||
install_requirements()
|
fetch()
|
||||||
migrate()
|
install_requirements()
|
||||||
collectstatic()
|
migrate()
|
||||||
touch()
|
collectstatic()
|
||||||
kill_celery()
|
touch()
|
||||||
|
kill_celery()
|
||||||
|
|
||||||
|
|
||||||
def rev():
|
def rev():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user