test_env/config/deploy.rb in mina-1.0.5 vs test_env/config/deploy.rb in mina-1.0.6
- old
+ new
@@ -31,11 +31,10 @@
set :shared_paths, ['config/database.yml', 'log']
set :keep_releases, 2
task :environment do
invoke :'rbenv:load'
- invoke :'rvm:use', '123'
end
#
# desc "Deploys."
task :deploy do
run :local do
@@ -55,15 +54,19 @@
end
end
desc 'Task description'
task :test do
- run :local do
+ run :remote do
comment %{PWD}
in_path('/Users') do
command %{ls -al}
end
on :after do
command %{pwd}
end
+ end
+
+ run :local do
+ command %{ls -al}
end
end