postdeploy listens for deployment requests and executes a custom command when the request arrives