Skip to content

Commit

Permalink
Backport deploy command no bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
elaman authored and weitzman committed Apr 10, 2024
1 parent 48c9793 commit 2fd7218
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Commands/core/DeployCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
use Consolidation\SiteAlias\SiteAliasManagerAwareTrait;
use Consolidation\SiteProcess\ProcessManager;
use Drush\Attributes as CLI;
use Drush\Commands\DrushCommands;
use Drush\Boot\DrupalBootLevels;
use Drush\Commands\config\ConfigImportCommands;
use Drush\Commands\core\DeployHookCommands;
use Drush\Commands\DrushCommands;
use Drush\Drush;
use Drush\SiteAlias\SiteAliasManagerAwareInterface;
use Drush\Boot\DrupalBootLevels;

#[CLI\Bootstrap(DrupalBootLevels::NONE)]
final class DeployCommands extends DrushCommands implements SiteAliasManagerAwareInterface
{
use SiteAliasManagerAwareTrait;
Expand All @@ -28,7 +28,6 @@ final class DeployCommands extends DrushCommands implements SiteAliasManagerAwar
#[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 2fd7218

Please sign in to comment.