From 06952ad1bc3fe2510bf295a8aad38a29d983a7a4 Mon Sep 17 00:00:00 2001 From: Daniil Tkachev Date: Wed, 8 Jan 2025 16:42:56 +0100 Subject: [PATCH] TC-47 test cypress --- .github/oxid-esales/cypress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/oxid-esales/cypress.sh b/.github/oxid-esales/cypress.sh index e6669a2..b4f9387 100755 --- a/.github/oxid-esales/cypress.sh +++ b/.github/oxid-esales/cypress.sh @@ -93,7 +93,7 @@ function add_network_to_services() { echo "Injecting custom network into existing services in docker-compose.yml..." if grep -q "services:" docker-compose.yml; then - sed -i '/services:/!b;n;c\ networks:\n - app-network' docker-compose.yml + sed -i '/services:/a \ apache:\n networks:\n - app-network\n php:\n networks:\n - app-network' docker-compose.yml echo "Custom network injected into services." else echo "Error: No services section found in docker-compose.yml."