Deploy script

This commit is contained in:
Mo Bitar
2018-01-29 11:57:55 -06:00
parent b5c6f2adf3
commit eba3457c88

View File

@@ -42,15 +42,17 @@ namespace :deploy do
task :npm_install do
on roles(:app) do
with fetch(:git_environmental_variables) do
within repo_path do
execute *%w[ git submodule update --init --force --remote ]
end
end
within release_path do
# string commands dont work, have to use special *%w syntax
execute *%w[ npm install ]
execute *%w[ grunt ]
end
within repo_path do
execute *%w[ git submodule update --init --force --remote ]
end
end
end