adds capistrano task to upload beta tester list

This commit is contained in:
rgarcia
2015-08-29 15:44:02 +02:00
parent 171150bcf5
commit d0fa2a3ae6

View File

@@ -0,0 +1,11 @@
namespace :deploy do
desc "compiles assets locally then rsyncs"
task :beta_testers do
on roles(:app) do |role|
run_locally do
execute"rsync -av ./config/beta-testers.txt #{role.user}@#{role.hostname}:#{shared_path}/config/beta-testers.txt;"
end
"chmod -R 755 #{shared_path}/config/beta-testers.txt"
end
end
end