Prepare and post deploy actions.