Skip to content

Commit

Permalink
TC-47 test cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tkachev committed Jan 8, 2025
1 parent c8d6ded commit 06952ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/oxid-esales/cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 06952ad

Please sign in to comment.