add 'deploy' lifecycle command
closes #3142