1 parent
65d1289067
commit
0a3e17fd81
1 file changed
+1
-1
+1
-1
@@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function push_to_git() {
|
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 . ' add /var/www/src/aliceclass/_data/aulas.json');
|
||||||
shell_exec($git_cmd . ' commit -m "update data"');
|
shell_exec($git_cmd . ' commit -m "update data"');
|
||||||
shell_exec($git_cmd . ' push');
|
shell_exec($git_cmd . ' push');
|
||||||
|
|||||||
Reference in new issue
Block a user