<?php
$secret = 'capiIs-kleinerJunge';
$token = $_SERVER['HTTP_X_GITLAB_TOKEN'] ?? '';

if ($token !== $secret) {
    http_response_code(403);
    die('Forbidden');
}

shell_exec('git -C /usr/home/squarecv/public_html/2026-RE pull 2>&1');
echo 'Deployed!';