mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 14:58:50 +01:00
add site.yml support to deploy.rb-example
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
parent
5ac4ac5198
commit
b1256ab6e9
1 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ namespace :deploy do
|
|||
task :before_symlink do
|
||||
run "rm #{release_path}/public/.htaccess" #not compatible with Passenger
|
||||
run "ln -s #{shared_path}/config/database.yml #{release_path}/config/database.yml"
|
||||
run "ln -s #{shared_path}/config/site.yml #{release_path}/config/site.yml"
|
||||
run "ln -s #{shared_path}/config/environment.rb #{release_path}/config/environment.rb"
|
||||
end
|
||||
|
||||
|
|
@ -98,4 +99,4 @@ namespace :db do
|
|||
remote_db_download
|
||||
remote_db_cleanup
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue