It has been a while I meant to write something about Mina, a “really fast deployer and server automation tool” as the team behind it describes it.
The concept behind Mina is to connect through SSH to your remote server and execute a set of Bash instructions that you define in a local deployment file (
deploy.rb). There is only one SSH connection, making it faster than other tools that encapsulate each instruction inside their own SSH transaction.
Using such a tool limits the number of manual operations required to deploy a new version of the application on a remote server. All tasks to be executed are gathered in one place and this allows reducing the risk of forgetting something or typing the wrong command.