We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc2c18 commit 707446dCopy full SHA for 707446d
app/Services/System/SystemUpdateService.php
@@ -25,13 +25,14 @@ public function runUpdate(): SystemUpdate
25
'status' => 'running',
26
]);
27
28
+ $php = trim(shell_exec('which php')) ?: 'php';
29
$commands = [
30
'git fetch origin',
31
'git reset --hard origin/main',
32
'git clean -fd',
- 'php artisan migrate',
33
- 'php artisan optimize:clear',
34
- 'php artisan queue:restart',
+ "$php artisan migrate",
+ "$php artisan optimize:clear",
35
+ "$php artisan queue:restart",
36
'npm install',
37
'npm run build',
38
];
0 commit comments