tangled
alpha
login
or
join now
mackuba.eu
/
sdk.blue
6
fork
atom
A curated list of libraries & SDKs for the Bluesky API and AT Protocol
6
fork
atom
overview
issues
2
pulls
pipelines
updated deploy config for new bundler
mackuba.eu
3 days ago
5b16034e
9d71fdca
+3
-8
1 changed file
expand all
collapse all
unified
split
config
deploy.rb
+3
-8
config/deploy.rb
···
1
1
-
# TODO: migrate to capistrano3 bundler integration
2
2
-
require 'bundler/capistrano'
3
3
-
set :bundle_dir, ''
4
4
-
set :bundle_flags, '--quiet'
5
5
-
set :bundle_without, []
6
6
-
7
1
set :application, "sdk.blue"
8
2
set :repository, "https://github.com/mackuba/sdk.blue.git"
9
3
set :scm, :git
···
15
9
16
10
server "sdk.blue", :app, :web, :db, :primary => true
17
11
18
18
-
before 'bundle:install', 'deploy:set_bundler_options'
12
12
+
before 'deploy:finalize_update', 'deploy:bundle_install'
19
13
20
14
after 'deploy:update_code', 'deploy:link_shared'
21
15
before 'deploy:create_symlink', 'deploy:build'
22
16
after 'deploy', 'deploy:cleanup'
23
17
24
18
namespace :deploy do
25
25
-
task :set_bundler_options do
19
19
+
task :bundle_install do
26
20
run "cd #{release_path} && bundle config set --local deployment 'true'"
27
21
run "cd #{release_path} && bundle config set --local path '#{shared_path}/bundle'"
28
22
run "cd #{release_path} && bundle config set --local without 'development test'"
23
23
+
run "cd #{release_path} && bundle install --quiet"
29
24
end
30
25
31
26
task :link_shared do