To configure build, deploy and post_deploy hooks, add the hooks
key to your application configuration file.
Knowing which hook to use will depend on the requirement of the commands being executed in it, see the difference between the different types.