Closed stmh closed 3 years ago
Looks good, but I think phabalicious should also adopt the drush standardized way to run database updates. Deploy process is now identical except this one part.
currently phabalicious is doing this:
$this->runDrush($shell, 'cr -y');
$this->runDrush($shell, 'updb -y');
and drush deploy standard is:
drush updatedb --no-cache-clear
drush cache:rebuild
Doing cr
before updb
and doing updb
with --no-cache-clear
are most likely a solution to same problem. But I can see cases where the --no-cache-clear
is better. Doing cr
before updb
can lead to some errors that then get resolved by the subsequent cr
.
lets try it out :)
@mikran please review
This small change will add support for drush's
deploy
-command and its hook-system.Closing #106