095c114e by Jeff Balicki

last deploy

1 parent 810c7ab7
1 <?php 1 <?php
2 #webhook.php
3 echo "finally working<br/>";
2 4
3 if ($_POST['payload'] ) { 5 $cmd = shell_exec("git pull 2>&1");
4 // Only respond to POST requests from Github
5 6
6 // If there is already a repo, just run a git pull to grab the latest changes 7 #for debugging
7 shell_exec("git pull"); 8 echo $cmd;
8 9
9 die("done " . mktime()); 10 die("<br/>done " . mktime());
10 11 ?>
11 }
12
13 ?>
...\ No newline at end of file ...\ No newline at end of file
......