do npm install before build
This commit is contained in:
parent
9cad386384
commit
424f5d80fb
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(0);
|
||||
$command = "cd /var/www/status-site && git reset --hard HEAD && git pull origin master && gulp build";
|
||||
$command = "cd /var/www/status-site && git reset --hard HEAD && git pull origin master && npm install && gulp build";
|
||||
|
||||
// TODO check against ip or secret hash
|
||||
$log_file = "/var/www/status-site/build.log";
|
||||
|
|
Loading…
Reference in New Issue