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 5aa6c5a commit 054bfcfCopy full SHA for 054bfcf
app/Console/Commands/Update.php
@@ -28,6 +28,7 @@ public function handle()
28
{
29
$error = false;
30
try {
31
+ $this->call('maintenance start');
32
$process = new Process(['git', 'pull', 'origin', 'main']);
33
$process->run();
34
if (! $process->isSuccessful()) {
@@ -50,6 +51,7 @@ public function handle()
50
51
}
52
} finally {
53
$error ? $this->error('Update Gagal!') : $this->info('Update Sukses! ');
54
+ $this->call('maintenance stop');
55
56
57
0 commit comments