diff --git a/fabfile.py b/fabfile.py index 54292f7..4798c86 100644 --- a/fabfile.py +++ b/fabfile.py @@ -14,12 +14,12 @@ def dep(): local('python manage.py collectstatic --ignore grappelli --ignore admin --noinput') try: - local('hg push') + local('git pull && ./get-last-commit-url.py') except: pass with cd(env.site_path): - run('hg pull -u') + run('git pull') run(_python('manage.py collectstatic --ignore grappelli --ignore admin --noinput')) def re():