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

Ignore possible failure of updatedb command during deployment

parent 894aaaf8
Pipeline #9356 failed with stages
in 59 seconds
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment