Fixes to the deploy job.