Skip to content

Commit

Permalink
#5952: Database update step for drush deploy behaves differently th…
Browse files Browse the repository at this point in the history
…an `drush updb --no-cache-clear` (#5953)

* Update DeployCommands.php

Fixes the issue #5952

* Dont bootstrap with deploy command

---------

Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
  • Loading branch information
elaman and weitzman committed Apr 10, 2024
1 parent 1287da1 commit 117353d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/DeployCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Drush\Commands\DrushCommands;
use Drush\Drush;

#[CLI\Bootstrap(DrupalBootLevels::NONE)]
final class DeployCommands extends DrushCommands
{
use AutowireTrait;
Expand All @@ -33,7 +34,6 @@ public function __construct(
#[CLI\Usage(name: 'drush deploy -v -y', description: 'Run updates with verbose logging and accept all prompts.')]
#[CLI\Version(version: '10.3')]
#[CLI\Topics(topics: [DocsCommands::DEPLOY])]
#[CLI\Bootstrap(level: DrupalBootLevels::FULL)]
public function deploy(): void
{
$self = $this->siteAliasManager->getSelf();
Expand Down

0 comments on commit 117353d

Please sign in to comment.