Commit 587c0f29 authored by ZeMKI's avatar ZeMKI
Browse files

Update DeployController.php

parent a6da83ca
......@@ -12,7 +12,7 @@ class DeployController extends Controller
$githubHash = $request->header('X-Gitlab-Token');
$localToken = config('app.deploy_secret');
echo "test";
if ($githubHash === $localToken) {
$root_path = base_path();
$process = new Process('cd ' . $root_path . '; ./deploy.sh');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment