It’s been a while (a decade?!) but if I recall correctly Capistrano did this for rails deployments too, didn’t it?

Not just rails. Capistrano is tech stack agnostic. It's possible to deploy a project with nodejs using Capistrano.

And yes, it's truly elegant.

Rollbacks become trivial should you need it.

I am now feeling old for using Capistrano even today. I think there might be “cooler and newer” ways to deploy, but i never ever felt the need to learn what those ways are since Capistrano gets the job done.

I remember using mina and it was much faster than Capistrano. Sadly, it seems it's now unmaintained.