From 0a3e17fd81974c41a160053d7340672546aa8b8d Mon Sep 17 00:00:00 2001 From: Carneiro Date: Wed, 22 Jan 2025 15:26:23 -0300 Subject: [PATCH] Update php/upload.php --- php/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');