From 68beee74035299d30692751d27c707ca5a4d4331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 14 Nov 2024 18:14:02 +0100 Subject: [PATCH] Add assets build during install and update --- scripts/install.sh | 2 ++ scripts/update.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index affa715ff..837372926 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -39,3 +39,5 @@ TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) git checkout $TAG SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist php bin/console wallabag:install --env=$ENV +yarn install +yarn build:$ENV diff --git a/scripts/update.sh b/scripts/update.sh index 1f31d429c..993e65d4a 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -50,4 +50,6 @@ TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) git checkout $TAG --force SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV +yarn install +yarn build:$ENV php bin/console cache:clear --env=$ENV