Added submodule calls
Not sure how many times I've been fucked by submodules. I avoid them now, but still the pain lingers
This commit is contained in:
parent
13217dc2d7
commit
d370bc3d3d
1 changed files with 2 additions and 0 deletions
|
@ -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')))
|
&& in_array($_SERVER['REMOTE_ADDR'], array('207.97.227.253', '50.57.128.197', '108.171.174.178')))
|
||||||
{
|
{
|
||||||
`git pull origin master`;
|
`git pull origin master`;
|
||||||
|
`git submodule init`;
|
||||||
|
`git submodule update`;
|
||||||
}
|
}
|
||||||
|
|
||||||
Browser::redirect('/');
|
Browser::redirect('/');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue