Moved pre-deploy hook action do post-deploy