do npm install before build

This commit is contained in:
Adrian Tiberius 2016-12-14 23:30:34 +02:00
parent 9cad386384
commit 424f5d80fb
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
ignore_user_abort(true); ignore_user_abort(true);
set_time_limit(0); 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 // TODO check against ip or secret hash
$log_file = "/var/www/status-site/build.log"; $log_file = "/var/www/status-site/build.log";