-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Description
I currently have the following in my deploy configuration:
append :linked_files, "config/master.key"
namespace :deploy do
namespace :check do
before :linked_files, :set_master_key do
on roles(:app), in: :sequence, wait: 10 do
unless test("[ -f #{shared_path}/config/master.key ]")
upload! 'config/master.key', "#{shared_path}/config/master.key"
end
end
end
end
endI was wondering if you'd be interested in integrating this into the capistrano-rails gem? (obviously with more options around whether this should happen or not per if the file actually exists locally.)
jonathanhefner
Metadata
Metadata
Assignees
Labels
No labels