moving task to remove identity to bottom of deploy.yml