Commit bbe7b6a5 authored by Victor Nikulshin's avatar Victor Nikulshin
Browse files

Ignore possible failure of updatedb command during deployment

parent 894aaaf8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ def _update_site_database(target, environment):
    Helper function to update site database.
    :param environment
    """
    run('drush --yes --root={} updatedb'.format(target.get('root')))
    run('drush --yes --root={} updatedb || true'.format(target.get('root')))
    print(green('The target environment {} is up-to-date.'.format(environment)))