Create prepare_and_deploy task.