From 3ce4fd6530aaf582bc4cb086c4e7fc472ef63448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Mon, 16 Oct 2023 10:37:26 +0200 Subject: [PATCH] wip --- .github/workflows/run-checks-tests.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-checks-tests.yaml b/.github/workflows/run-checks-tests.yaml index 2891a9e902..28120edec2 100644 --- a/.github/workflows/run-checks-tests.yaml +++ b/.github/workflows/run-checks-tests.yaml @@ -47,15 +47,16 @@ jobs: run: echo 1 | ./scripts/configure.sh - name: Remove other domains than first one from configs run: | - # delete all domain URLs except URLs for domain with ID 1 in config/domains.yaml - sed -i '/id: 2/{:a;Q}' config/domains_urls.yaml - sed -i '/id: 2/{:a;Q}' config/domains.yaml + ls -la app/config + # delete all domain URLs except URLs for domain with ID 1 in app/config/domains.yaml + sed -i '/id: 2/{:a;Q}' app/config/domains_urls.yaml + sed -i '/id: 2/{:a;Q}' app/config/domains.yaml # sed is removing all content from match to end of file, unfortunately it adds new line (\n) after the replacement # more info: https://stackoverflow.com/questions/50559170/delete-last-line-break-using-sed # when there stays more than one last line the build will fail because of our coding standards - truncate -s -1 config/domains_urls.yaml - truncate -s -1 config/domains.yaml + truncate -s -1 app/config/domains_urls.yaml + truncate -s -1 app/config/domains.yaml - name: Install composer dependencies run: docker-compose exec -T php-fpm composer install - name: Ensure Symfony 4 version