Skip to content

Commit

Permalink
fix deploy flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef committed Sep 5, 2018
1 parent 411301a commit 575d833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/Batch/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function deploy(Config $config)

$git->ensureStageIsClean()->fetch();
$needsRemoteConfig = $git->fortrabbitRemoteNeedsConfiguring($config);
$git->onBranch($config->targetBranch(), function($git, $command, $input, $output) use ($config, $firstTime) {
$git->onBranch($config->targetBranch(), function($git, $command, $input, $output) use ($config, $needsRemoteConfig) {
$this->task(Assets::class)->build($config);

// @todo - pre deploy hooks (remote) - maintanence mode
Expand Down

0 comments on commit 575d833

Please sign in to comment.