Skip to content

Commit

Permalink
Merge pull request #202 from lara-zeus/update-install-command
Browse files Browse the repository at this point in the history
Update InstallCommand.php
  • Loading branch information
atmonshi authored Mar 31, 2024
2 parents 6594abd + 638c1bc commit f5c26f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: none

- name: Install composer dependencies
Expand Down
7 changes: 4 additions & 3 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public function handle(): void
$this->call('vendor:publish', ['--tag' => 'zeus-config']);
$this->call('vendor:publish', ['--tag' => 'zeus-assets']);

$this->info('running migrations...');

$this->call('migrate');
if ($this->confirm('Do you want to run the migration now?', true)) {
$this->info('running migrations...');
$this->call('migrate');
}

$this->output->success('Zeus Sky has been Installed successfully, consider ⭐️ the package in filament site :)');
}
Expand Down

0 comments on commit f5c26f0

Please sign in to comment.