Change commithook to work with force-pushed commits
This commit is contained in:
parent
f844408e9c
commit
c297a00c1b
@ -14,7 +14,7 @@ $uri = $ROUTE->full_url;
|
|||||||
$cmd = "";
|
$cmd = "";
|
||||||
|
|
||||||
if ($hook == 'website_mikescher')
|
if ($hook == 'website_mikescher')
|
||||||
$cmd = 'git pull';
|
$cmd = 'git fetch ; git reset origin/master --hard';
|
||||||
else if ($hook == 'griddominance')
|
else if ($hook == 'griddominance')
|
||||||
$cmd = 'update-gdapi';
|
$cmd = 'update-gdapi';
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user