From 8ce82476f4c40d27414006ec3d630a53f7ea16ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Mon, 16 Oct 2023 09:24:18 +0200 Subject: [PATCH] wip --- .github/workflows/run-checks-tests.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-checks-tests.yaml b/.github/workflows/run-checks-tests.yaml index 5076cd4e89..f4990ad523 100644 --- a/.github/workflows/run-checks-tests.yaml +++ b/.github/workflows/run-checks-tests.yaml @@ -47,16 +47,15 @@ jobs: run: echo 1 | ./scripts/configure.sh - name: Remove other domains than first one from configs run: | - pwd - ls -la + ls -la ./config # 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.dist + sed -i '/id: 2/{:a;Q}' config/domains_urls.yaml sed -i '/id: 2/{:a;Q}' 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.dist + truncate -s -1 config/domains_urls.yaml truncate -s -1 config/domains.yaml - name: Install composer dependencies run: docker-compose exec -T php-fpm composer install