diff --git a/php/upload.php b/php/upload.php index 8222532..49afa0e 100755 --- a/php/upload.php +++ b/php/upload.php @@ -74,7 +74,7 @@ } function push_to_git() { - $git_cmd = 'git --git-dir=/var/www/src/aliceclass' + $git_cmd = 'git --git-dir=/var/www/src/aliceclass'; shell_exec($git_cmd . ' add /var/www/src/aliceclass/_data/aulas.json'); shell_exec($git_cmd . ' commit -m "update data"'); shell_exec($git_cmd . ' push');