Link fog credentials file during deployment
This commit is contained in:
parent
69f9c52b02
commit
32870e8128
1 changed files with 2 additions and 1 deletions
|
@ -63,6 +63,7 @@ set :shared_paths, [
|
|||
'public/system',
|
||||
'public/uploads',
|
||||
'config/database.yml',
|
||||
"config/fog_credentials.yml",
|
||||
'config/initializers/secret_token.rb',
|
||||
"config/environments/#{ENV['to']}.rb",
|
||||
"config/initializers/token.rb",
|
||||
|
@ -132,7 +133,7 @@ task :deploy => :environment do
|
|||
|
||||
to :launch do
|
||||
queue "/etc/init.d/#{user} upgrade "
|
||||
|
||||
|
||||
queue "cd #{deploy_to}/#{current_path}/"
|
||||
queue "bundle exec rake db:seed RAILS_ENV=#{rails_env}"
|
||||
queue %[echo "-----> Rake Seeding Completed."]
|
||||
|
|
Loading…
Reference in a new issue