preDeploy stage