remove faulty bit
SSH Build / Deploy (push) Successful in 6s Details

This commit is contained in:
Carneiro 2024-08-06 15:15:20 -03:00
parent bd9f2ddd30
commit 0a91ed4749
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@
}
function push_to_git() {
$git_cmd = '-c user.name="www-data" -c user.email="no-replay@example.org"'
shell_exec('cd /var/www/src/AliceClass;' . $git_cmd . 'add _data/aulas.json;' . $git_cmd . 'commit -m "update data";' . $git_cmd . 'push');
// $git_cmd = '-c user.name="www-data" -c user.email="no-replay@example.org"'
// shell_exec('cd /var/www/src/AliceClass;' . $git_cmd . 'add _data/aulas.json;' . $git_cmd . 'commit -m "update data";' . $git_cmd . 'push');
}
$username = $_SERVER['PHP_AUTH_USER'];