Update php/upload.php
Deploy / Deploy (push) Successful in 37s
Details
Deploy / Deploy (push) Successful in 37s
Details
This commit is contained in:
parent
65d1289067
commit
0a3e17fd81
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue