Skip to content

Commit

Permalink
Adjust before_symlink hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara committed Mar 10, 2010
1 parent d95b2aa commit 1e083ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/before_symlink.rb
@@ -1,5 +1,5 @@
# A hook to get all our config in the right place
['alonetone.yml','database.yml','amazon_s3.yml','defensio.yml', 'newrelic.yml'].each do |config_file|
run "echo 'release_path: #{release_path}/config/#{config_file}' >> #{shared_path}/#{config_file}"
run "ln -nfs #{shared_path}/shared/config/#{config_file} #{release_path}/shared/#{config_file}"
run "echo 'release_path: #{release_path}/config/#{config_file}' >> #{shared_path}/config/#{config_file}"
run "ln -nfs #{shared_path}/config/#{config_file} #{release_path}/config/#{config_file}"
end

0 comments on commit 1e083ac

Please sign in to comment.