Revert "Plus besoin du double git push sur la dernière version de git"
This reverts commit 6df2028322
.
This commit is contained in:
parent
6df2028322
commit
a621cd1521
2
ajax.php
2
ajax.php
@ -43,7 +43,7 @@ if (!empty($_POST['action'])) {
|
||||
exit;
|
||||
} else if ($_POST['action'] == 'push') {
|
||||
$message = empty($_POST['message']) ? 'FTP' : str_replace(array('"', "'"), ' ', stripslashes($_POST['message']));
|
||||
echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git add -A && git commit -m "' . $message . '" && git push && ' . $gitstatus . "'"));
|
||||
echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git add -A && git commit -m "' . $message . '" && git push && git push && ' . $gitstatus . "'"));
|
||||
if (!empty($config['after_push'])) {
|
||||
echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_push'] . "'"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user