check-deploy hook instead of post deploy