mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
Update deploy.rb
This commit is contained in:
parent
1b5638fd5b
commit
2b87f87218
2 changed files with 0 additions and 13 deletions
|
|
@ -33,7 +33,6 @@ Capfile
|
|||
config.ru
|
||||
Gemfile
|
||||
Gemfile.lock
|
||||
Gruntfile.js
|
||||
package-lock.json
|
||||
package.json
|
||||
Rakefile
|
||||
|
|
|
|||
|
|
@ -34,16 +34,6 @@ set :rvm_ruby_version, '2.3.0'
|
|||
|
||||
namespace :deploy do
|
||||
|
||||
task :npm_install do
|
||||
on roles(:app) do
|
||||
within release_path do
|
||||
# string commands dont work, have to use special *%w syntax
|
||||
execute *%w[ npm install ]
|
||||
execute *%w[ grunt ]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
after :restart, :clear_cache do
|
||||
on roles(:web), in: :groups, limit: 3, wait: 5 do
|
||||
# Here we can do anything such as:
|
||||
|
|
@ -54,8 +44,6 @@ namespace :deploy do
|
|||
end
|
||||
end
|
||||
|
||||
before 'deploy:compile_assets', 'deploy:npm_install'
|
||||
|
||||
set :ssh_options, {
|
||||
keys: %W( #{CAP_CONFIG['default']['key_path']} ),
|
||||
forward_agent: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue