Add assets build during install and update

This commit is contained in:
Nicolas Lœuillet 2024-11-14 18:14:02 +01:00
parent 56545920f8
commit 68beee7403
No known key found for this signature in database
GPG key ID: FA576177B1EBB573
2 changed files with 4 additions and 0 deletions

View file

@ -39,3 +39,5 @@ TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout $TAG git checkout $TAG
SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
php bin/console wallabag:install --env=$ENV php bin/console wallabag:install --env=$ENV
yarn install
yarn build:$ENV

View file

@ -50,4 +50,6 @@ TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout $TAG --force git checkout $TAG --force
SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist SYMFONY_ENV=$ENV $COMPOSER_COMMAND install --no-dev -o --prefer-dist
php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV php bin/console doctrine:migrations:migrate --no-interaction --env=$ENV
yarn install
yarn build:$ENV
php bin/console cache:clear --env=$ENV php bin/console cache:clear --env=$ENV