Fix broken deploy command to work with new API spec