+fix 'web' spy now composer-update+npm-build now encapsuled in 'bash -c' command
This commit is contained in:
parent
318b7cf05f
commit
b85c357d9a
|
@ -22,10 +22,10 @@ while true; do
|
||||||
git submodule update --remote;
|
git submodule update --remote;
|
||||||
|
|
||||||
# 3. Update composer
|
# 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
|
# 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";
|
||||||
|
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue