have pollStatus to return the deploy with resolution
refactor deploy task and support multiple deployments