Commit d9ca9d2a authored by ZeMKI's avatar ZeMKI
Browse files

testing auto deploy

parent 26d2f283
......@@ -12,6 +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