Skip to content

Commit 1437976

Browse files
committed
update Process
1 parent a3ca66c commit 1437976

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Controllers/ProcessController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class ProcessController extends Controller
1616
*/
1717
public function siteUpdate(Request $request)
1818
{
19+
$gitReset = Process::run(['git', 'reset', '--hard']);
1920
$processGitPull = Process::run(['git', 'pull']);
2021
$exitCodeMigrate = Artisan::call('migrate', ['--force' => true]);
2122
$exitCodeOptimize = Artisan::call('optimize');

0 commit comments

Comments
 (0)