1
0

Change commithook to work with force-pushed commits

This commit is contained in:
Mike Schwörer 2021-12-01 12:41:25 +01:00
parent f844408e9c
commit c297a00c1b
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -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