Skip to content

Commit

Permalink
🚧 Use public dir from config
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Dec 6, 2016
1 parent a5e0cdc commit adf9f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/DeployCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function prepareRepository(string $directory, string $repository, stri
}

$filesystem->makeDirectory(root_dir($directory));
$filesystem->copyDirectory(root_dir('public'), root_dir($directory));
$filesystem->copyDirectory(root_dir(config('sereno.public')), root_dir($directory));

$init = new Process("git init; git checkout -b ${branch}; git remote add origin ${repository}");
$init->setWorkingDirectory(root_dir($directory));
Expand Down

0 comments on commit adf9f11

Please sign in to comment.