5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:01:42 +00:00

correr yarn antes de compilar los assets

This commit is contained in:
f 2019-04-29 19:50:00 -03:00
parent dfe2895b60
commit c3ae2acf06
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -10,3 +10,16 @@ set :linked_dirs, %w[_sites _deploy _usuarias _invitadxs public/covers]
set :linked_files, %w[.env db/production.sqlite3]
set :keep_releases, 1
before 'deploy:assets:precompile', 'deploy:yarn_install'
namespace :deploy do
desc 'Run rake yarn:install'
task :yarn_install do
on roles(:web) do
within release_path do
execute("cd #{release_path} && yarn install")
end
end
end
end