deploy hooks use-cases