Set command in task to use at another task
Senset opened this issue · comments
Hello! I try to make some like this:
_task :task1 do
set :mycommand, "ls -la"
end
task :taks2 do
set :mycommand, "df -h"
end
task :deploy do
command %{#{fetch(:mycommand)}}
end_
Startring:
mina task1 deploy
mina task2 deploy
How can I set command in task(1|2) to use it in deploy task?
Few minutes ago it wasn't works... hm... closing