Don't use deprecated deploy hook.