Share bundler configuration between deploys

This commit is contained in:
Henne Vogelsang 2022-03-02 15:15:32 +01:00
parent b598028584
commit b9a3a6fb2b
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6

View file

@ -19,7 +19,7 @@ set :branch, OSEM_DEPLOY_BRANCH
# Shared dirs and files will be symlinked into the app-folder by the 'deploy:link_shared_paths' step.
# Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more
# run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files`
set :shared_dirs, fetch(:shared_dirs, []).push('public/system')
set :shared_dirs, fetch(:shared_dirs, []).push('public/system', '.bundle')
set :shared_files, fetch(:shared_files, []).push('.env.production')
desc "Deploys the current version to the server."