conditional post-deploy hooks