Answers for "php git pull webhook"

PHP
0

php git pull webhook

if ( $_POST['payload'] ) {
  shell_exec( 'cd /srv/www/git-repo/ && git reset --hard HEAD && git pull' );
}
Posted by: Guest on January-07-2022

Browse Popular Code Answers by Language