Fix fabfile
parent
e885e99821
commit
f1d7f04b1a
|
@ -14,12 +14,12 @@ def dep():
|
||||||
local('python manage.py collectstatic --ignore grappelli --ignore admin --noinput')
|
local('python manage.py collectstatic --ignore grappelli --ignore admin --noinput')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
local('hg push')
|
local('git pull && ./get-last-commit-url.py')
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
with cd(env.site_path):
|
with cd(env.site_path):
|
||||||
run('hg pull -u')
|
run('git pull')
|
||||||
run(_python('manage.py collectstatic --ignore grappelli --ignore admin --noinput'))
|
run(_python('manage.py collectstatic --ignore grappelli --ignore admin --noinput'))
|
||||||
|
|
||||||
def re():
|
def re():
|
||||||
|
|
Loading…
Reference in New Issue