bd6bc27f by Jeff Balicki

deploy

1 parent 469d9e26
......@@ -7,9 +7,8 @@ $LOCAL_REPO = "{$LOCAL_ROOT}/{$LOCAL_REPO_NAME}";
$REMOTE_REPO = "git@git.gotenzing.com:jeffmbalicki/banners-with-skip.git";
$BRANCH = "deploy";
if ( $_POST['payload'] ) {
// Only respond to POST requests from Github
echo 'payload';
if( file_exists($LOCAL_REPO) ) {
// If there is already a repo, just run a git pull to grab the latest changes
......@@ -23,6 +22,6 @@ echo 'done';
die("done " . mktime());
}
}
?>
......