Chatwoot/deploy/before_migrate.rb

8 lines
321 B
Ruby
Raw Normal View History

2019-10-20 08:47:26 +00:00
Chef::Log.debug '==================> inside before_migrate <=================='
2019-10-20 08:47:26 +00:00
shared_path = '/srv/www/chatwoot/shared'
2019-10-20 08:47:26 +00:00
# yml files
run "ln -nfs #{shared_path}/config/application.yml #{release_path}/config/application.yml"
run "ln -nfs #{shared_path}/config/reports_redis.yml #{release_path}/config/reports_redis.yml"