mirror of
https://github.com/standardnotes/app
synced 2026-10-03 06:14:51 -04:00
Deploy script
This commit is contained in:
+6
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user