added post hook for api repo