From b7930490782910812dbedb0eabcc9336c1c9dc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ture=20Gj=C3=B8rup?= Date: Tue, 11 Jul 2023 13:11:14 +0200 Subject: [PATCH] DISPLAY-986: Fix permissions in create release github action --- .github/workflows/github_build_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_build_release.yml b/.github/workflows/github_build_release.yml index e3dd56b7..79d35ac6 100644 --- a/.github/workflows/github_build_release.yml +++ b/.github/workflows/github_build_release.yml @@ -21,8 +21,8 @@ jobs: - name: Composer install run: | docker network create frontend - docker compose run --rm phpfpm composer install --no-dev -o --classmap-authoritative - docker compose run --rm phpfpm composer clear-cache + 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 rm -rf infrastructure - name: Make assets dir