Skip to content

Commit

Permalink
Merge branch 'main' into fix-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan authored May 21, 2024
2 parents 3b85272 + 65f89b5 commit 92d7dbc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployer/tasks/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

desc('Prepare the next release locally');
task('build', [
'deploy:info',
'build:info',
'build:setup',
'build:vendors',
'build:assets',
Expand Down
8 changes: 8 additions & 0 deletions deployer/tasks/build/info.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Deployer;

desc('Displays info about build');
task('build:info', static function () {
info('building <fg=magenta;options=bold>{{target}}</>');
});
2 changes: 1 addition & 1 deletion deployer/tasks/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private function chooseSource(): Host|string
writeln('The data can be imported from one of the hosts, or from dump file.');
writeln('');

if (!askConfirmation('Import from host')) {
if (!askConfirmation('Import from host', true)) {
return $this->chooseSourceFile();
}

Expand Down

0 comments on commit 92d7dbc

Please sign in to comment.