Skip to content

Commit

Permalink
Includes NVM and Yarn in deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed Nov 22, 2024
1 parent 680e596 commit f0de871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@

task :init_qp do
on roles(:all) do
execute 'nvm install'
execute 'nvm use'
execute 'gem install --user-install bundler'
execute "bundle config path 'vendor/bundle' --local"
execute 'yarn install'
execute "mkdir -p #{fetch(:deploy_to)}/static"
execute "cp #{fetch(:deploy_to)}/static/.env.production #{fetch(:release_path)}/ || true"
end
Expand Down

0 comments on commit f0de871

Please sign in to comment.