From 0b36c8651562c414bf118ddb75a8b3230a387102 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Thu, 26 Sep 2024 15:20:34 -0700 Subject: [PATCH] Make sure that we do not create test site inside project directory --- .circleci/scripts/setup-drupal-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/scripts/setup-drupal-repo.sh b/.circleci/scripts/setup-drupal-repo.sh index f012580..5c58ef4 100755 --- a/.circleci/scripts/setup-drupal-repo.sh +++ b/.circleci/scripts/setup-drupal-repo.sh @@ -11,8 +11,8 @@ if [ "$TERMINUS_BASE_ENV" = "dev" ]; then fi # Bring the code down to Circle so that modules can be added via composer. -git clone $(terminus connection:info ${TERMINUS_SITE}.dev --field=git_url) --branch $TERMINUS_BASE_ENV drupal-site -cd drupal-site +git clone $(terminus connection:info ${TERMINUS_SITE}.dev --field=git_url) --branch $TERMINUS_BASE_ENV "$HOME/drupal-site" +cd "$HOME/drupal-site" git checkout -b $TERMINUS_ENV