# File lib/chef/provider/deploy.rb, line 61
      def action_deploy
        save_release_state

        if deployed?(release_path)
          if current_release?(release_path) 
            Chef::Log.debug("#{@new_resource} is the latest version")
          else
            action_rollback
          end
        else

          with_rollback_on_error do
            deploy
            @new_resource.updated_by_last_action(true)
          end
        end
      end