Skip to content

Commit

Permalink
Revert "changed logic for make up to not run make demo if docker-comp…
Browse files Browse the repository at this point in the history
…ose up fails"

This reverts commit e47a666.
  • Loading branch information
Josh D'entremont committed Apr 14, 2023
1 parent 4c41cf4 commit 4d3a125
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,9 @@ docker-compose.yml: $(SERVICES:%=build/docker-compose/docker-compose.%.yml) .env

.PHONY: up
.SILENT: up
## Brings up the containers or builds demo if no docker-compose.yml file is found.
## Brings up the containers or builds demo if no containers were found.
up:
if [ -f docker-compose.yml ]; then \
docker-compose up -d --remove-orphans; \
else \
$(MAKE) demo; \
fi
test -f docker-compose.yml && docker-compose up -d --remove-orphans || $(MAKE) demo
@echo "\n Sleeping for 10 seconds to wait for Drupal to finish building.\n"
sleep 10
docker-compose exec -T drupal with-contenv bash -lc "for_all_sites update_settings_php"
Expand Down

0 comments on commit 4d3a125

Please sign in to comment.