diff options
| author | Alban Peignier | 2017-11-27 12:36:51 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2017-11-27 12:36:51 +0100 | 
| commit | ff28f0371280b8258921f8204e7af9c7edb56413 (patch) | |
| tree | f535c5ae9509990a5ba84146a4d8c062dabfd392 | |
| parent | 1e0e6fbefd2ca4bc4c3f88766fdec1d2965a0766 (diff) | |
| download | chouette-core-ff28f0371280b8258921f8204e7af9c7edb56413.tar.bz2 | |
Run yarn install after bundle install. Refs #5085
| -rw-r--r-- | config/deploy.rb | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/config/deploy.rb b/config/deploy.rb index 5fff31a4a..a8d44d3e5 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -55,6 +55,12 @@ namespace :deploy do    end    after "bundle:install", "deploy:bundle_link" +  desc "Run yarn install" +  task :yarn do +    run "cd #{release_path} && yarn --production --no-progress install" +  end +  after "bundle:install", "deploy:yarn" +    desc "Symlinks shared configs and folders on each release"    task :symlink_shared, :except => { :no_release => true }  do      run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/" | 
