From d370bc3d3d1639c334f186c35e9f1debac30ab42 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Fri, 4 Jan 2013 11:57:37 -0500 Subject: [PATCH] Added submodule calls Not sure how many times I've been fucked by submodules. I avoid them now, but still the pain lingers --- bootstrap/modules/callback/github/hook.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/modules/callback/github/hook.php b/bootstrap/modules/callback/github/hook.php index 8ae4316..7dd558a 100644 --- a/bootstrap/modules/callback/github/hook.php +++ b/bootstrap/modules/callback/github/hook.php @@ -11,6 +11,8 @@ class callback_github_hook extends Module && in_array($_SERVER['REMOTE_ADDR'], array('207.97.227.253', '50.57.128.197', '108.171.174.178'))) { `git pull origin master`; + `git submodule init`; + `git submodule update`; } Browser::redirect('/');