remove faulty bit
SSH Build / Deploy (push) Successful in 6s
Details
SSH Build / Deploy (push) Successful in 6s
Details
This commit is contained in:
parent
bd9f2ddd30
commit
0a91ed4749
|
@ -74,8 +74,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function push_to_git() {
|
function push_to_git() {
|
||||||
$git_cmd = '-c user.name="www-data" -c user.email="no-replay@example.org"'
|
// $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');
|
// 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'];
|
$username = $_SERVER['PHP_AUTH_USER'];
|
||||||
|
|
Loading…
Reference in New Issue