From fc7734db596fd24ca9d2213a77001f91402706c7 Mon Sep 17 00:00:00 2001 From: Chris Abraham Date: Sun, 19 May 2024 13:43:38 +0700 Subject: [PATCH] set var Signed-off-by: Chris Abraham --- .github/workflows/dev-multidev-lfasiallcci | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev-multidev-lfasiallcci b/.github/workflows/dev-multidev-lfasiallcci index 5fdee1c6..7e6d2d63 100755 --- a/.github/workflows/dev-multidev-lfasiallcci +++ b/.github/workflows/dev-multidev-lfasiallcci @@ -17,21 +17,21 @@ composer run prepare-for-pantheon if [[ $CI_BRANCH != $DEFAULT_BRANCH ]] then # Create a new multidev environment (or push to an existing one) - terminus -n build:env:create "$TERMINUS_SITE.dev" "$TERMINUS_ENV" --yes + terminus -n build:env:create "$TERMINUS_SITE2.dev" "$TERMINUS_ENV" --yes else # Push to the dev environment - terminus -n build:env:push "$TERMINUS_SITE.dev" --yes + terminus -n build:env:push "$TERMINUS_SITE2.dev" --yes fi # Run update-db to ensure that the cloned database is updated for the new code. -terminus -n wp $TERMINUS_SITE.$TERMINUS_ENV -- core update-db +terminus -n wp $TERMINUS_SITE2.$TERMINUS_ENV -- core update-db # Clear the site environment's cache -terminus -n env:clear-cache "$TERMINUS_SITE.$TERMINUS_ENV" +terminus -n env:clear-cache "$TERMINUS_SITE2.$TERMINUS_ENV" # Ensure secrets are set -terminus -n secrets:set "$TERMINUS_SITE.$TERMINUS_ENV" token "$GITHUB_TOKEN" --file='github-secrets.json' --clear --skip-if-empty +terminus -n secrets:set "$TERMINUS_SITE2.$TERMINUS_ENV" token "$GITHUB_TOKEN" --file='github-secrets.json' --clear --skip-if-empty # Delete old multidev environments associated # with a PR that has been merged or closed. -terminus -n build:env:delete:pr $TERMINUS_SITE --yes +terminus -n build:env:delete:pr $TERMINUS_SITE2 --yes