Guest User

Untitled

a guest
Jun 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. after "deploy:update_code", :move_shared_files_to_release_path
  2.  
  3. desc "Move shared files over to release directory"
  4. task :move_shared_files_to_release_path do
  5. %w( config/database.yml config/initializers/mailer_settings.rb public/system db/production.sqlite3 ).each do |file|
  6. run "ln -nfs #{shared_path}/#{file} #{release_path}/#{file}"
  7. end
  8. end
Add Comment
Please, Sign In to add comment