mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.35k stars 491 forks source link

`mina setup deploy` doesn't work #544

Open x-yuri opened 7 years ago

x-yuri commented 7 years ago

I expect it to first run setup task's commands, followed by commands of deploy task. What actually happens is setup's commands along with deploy's commands got incorporated into deploy.sh.erb. And at least the first time you run mina, it fails. Since other commands get executed before commands of setup task.

If setup is run alone, the commands get executed by run_commands task. With deploy task, they are run here.

d4be4st commented 6 years ago

will take a look. Thx