tangled
alpha
login
or
join now
mackuba.eu
/
lycan
35
fork
atom
Don't forget to lycansubscribe
35
fork
atom
overview
issues
1
pulls
pipelines
added task to deploy config to link env from shared
mackuba.eu
5 months ago
911abbf9
dcb52df6
+5
1 changed file
expand all
collapse all
unified
split
config
deploy.rb
+5
config/deploy.rb
···
22
22
23
23
after 'deploy', 'deploy:cleanup'
24
24
after 'deploy:migrations', 'deploy:cleanup'
25
25
+
after 'deploy:update_code', 'deploy:link_shared'
25
26
26
27
namespace :deploy do
27
28
task :restart, :roles => :web do
···
32
33
run "cd #{release_path} && bundle config set --local deployment 'true'"
33
34
run "cd #{release_path} && bundle config set --local path '#{shared_path}/bundle'"
34
35
run "cd #{release_path} && bundle config set --local without 'development test'"
36
36
+
end
37
37
+
38
38
+
task :link_shared do
39
39
+
run "ln -s #{shared_path}/env #{release_path}/.env"
35
40
end
36
41
end