Revamp "deploy" action to implement multi-phase deployments. (Resolves #16)