deploy.php 254 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php // Set Variables Working if ($_POST['payload'] ) { // Only respond to POST requests from Github // If there is already a repo, just run a git pull to grab the latest changes shell_exec("git pull"); die("done " . mktime()); } ?>