diff --git a/.github/workflows/github_build_release.yml b/.github/workflows/github_build_release.yml index ba36672..7b06131 100644 --- a/.github/workflows/github_build_release.yml +++ b/.github/workflows/github_build_release.yml @@ -18,13 +18,15 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Composer install + - name: Composer install and asset build run: | docker network create frontend docker compose run --rm --user=root --env APP_ENV=prod phpfpm composer install --no-dev -o --classmap-authoritative docker compose run --rm --user=root --env APP_ENV=prod phpfpm composer clear-cache docker compose run --rm node yarn install docker compose run --rm node yarn build + # https://symfony.com/doc/current/frontend/asset_mapper.html#serving-assets-in-dev-vs-prod + docker compose run --rm --user=root --env APP_ENV=prod phpfpm php bin/console asset-map:compile - name: Make assets dir run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index eae4b76..644a2e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- [#100](https://github.com/itk-dev/devops_itksites/pull/100) + Added asset compilation to release build + ## [1.12.0] - 2026-09-04 - [#99](https://github.com/itk-dev/devops_itksites/pull/99)