From b85c357d9a20617a5ec82249b1fb05bc407bec08 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 20 Feb 2018 14:03:56 +0100 Subject: [PATCH] +fix 'web' spy now composer-update+npm-build now encapsuled in 'bash -c' command --- metactl/ci/web.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metactl/ci/web.sh b/metactl/ci/web.sh index 43f95f7..060a190 100644 --- a/metactl/ci/web.sh +++ b/metactl/ci/web.sh @@ -22,10 +22,10 @@ while true; do git submodule update --remote; # 3. Update composer - docker exec php-fpm composer update -d /vhost; + docker exec php-fpm bash -c "cd /vhost; composer update"; # 4. Re-build js/scss - docker exec php-fpm npm run build --prefix /vhost; + docker exec php-fpm bash -c "cd /vhost; npm install; npm run build"; # ...