pre-deploy prepare.