Minor fixes to api deployment.

5 jobs for v0.5.2 in 16 minutes and 43 seconds (queued for 2 seconds)