From 8bd581af42b25741379921d1cf6c088e5ae94764 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 22 Sep 2023 10:22:40 -0600 Subject: [PATCH] clone site before multidev creation if it's going to fail, let's fail before we wait for the multidev to be created --- .github/workflows/sage-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sage-test.yml b/.github/workflows/sage-test.yml index 6d10d51a..ac615a9a 100644 --- a/.github/workflows/sage-test.yml +++ b/.github/workflows/sage-test.yml @@ -78,10 +78,11 @@ jobs: run: | terminus auth:login --machine-token=${{ secrets.TERMINUS_TOKEN }} terminus upstream:updates:apply wpcm-sage-install-tests.dev --accept-upstream - terminus multidev:create wpcm-sage-install-tests.dev $multidev_name echo "Cloning site..." terminus local:clone wpcm-sage-install-tests cd ~/pantheon-local-copies/wpcm-sage-install-tests + terminus multidev:create wpcm-sage-install-tests.dev $multidev_name + echo "Checking out multidev..." git fetch --all git checkout $multidev_name echo "Installing Composer dependencies..."