Some documentation about that on the Debian wiki:
https://wiki.debian.org/AutomatedUpgrade
It's relatively deterministic too, I've used that combined with apt-offline to upgrade offline servers successfully.