diff --git a/lib/capistrano/tasks/beta_testers.cap b/lib/capistrano/tasks/beta_testers.cap new file mode 100644 index 000000000..cbbb25050 --- /dev/null +++ b/lib/capistrano/tasks/beta_testers.cap @@ -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