Skip to content

Commit

Permalink
Merge pull request #98 from infinum/fix/bundler_app_config_for_deploy
Browse files Browse the repository at this point in the history
Fix bundler app config
  • Loading branch information
d4be4st authored Jan 12, 2022
2 parents 7b8abe9 + 9becb88 commit 2ae9364
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions mina_deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set :application_name, 'awesome_app'
set :repository, 'git://...'
set :service_manager, :systemd
set :bundle_options, ''
set :bundle_withouts, 'development test ci deploy'
# set :background_worker, 'dj' / 'sidekiq'

task :staging do
Expand All @@ -33,7 +33,6 @@
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install_gem'
command "export BUNDLE_APP_CONFIG='.bundle/server'"
invoke :'bundle:install'
command 'yarn install'
invoke :'secrets:pull'
Expand Down
7 changes: 0 additions & 7 deletions template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,6 @@
HEREDOC
create_file '.bundle/ci-deploy/config', BUNDLER_CI_DEPLOY_CONFIG, force: true

BUNDLER_SERVER_CONFIG = <<~HEREDOC.strip_heredoc
---
BUNDLE_DEPLOYMENT: "true"
BUNDLE_WITHOUT: "development test ci deploy"
HEREDOC
create_file '.bundle/server/config', BUNDLER_SERVER_CONFIG, force: true

# bugsnag
BUGSNAG_CONFIG = <<-HEREDOC.strip_heredoc
Bugsnag.configure do |config|
Expand Down

0 comments on commit 2ae9364

Please sign in to comment.