Couldn't change the `deploy` command to check for a specific output from the `pre-deploy` hook, and if found use a `deploy` hook instead of using the default method ?