From a9dc7c2ee88b07e0bec0b35510888715c9746d9b Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Mon, 25 Sep 2023 09:10:39 -0600 Subject: [PATCH] delete sage theme if it exists --- .github/workflows/sage-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sage-test.yml b/.github/workflows/sage-test.yml index cb56760f..f5f48f99 100644 --- a/.github/workflows/sage-test.yml +++ b/.github/workflows/sage-test.yml @@ -88,6 +88,12 @@ jobs: echo "Cloning site..." terminus local:clone wpcm-sage-install-tests cd ~/pantheon-local-copies/wpcm-sage-install-tests + ls -la ~/pantheon-local-copies/wpcm-sage-install-tests + # If sage-test exists, delete it. + if [[ -d "web/app/themes/sage-test" ]]; then + echo "Deleting existing sage-test..." + rm -rf web/app/themes/sage-test + fi terminus multidev:create wpcm-sage-install-tests.dev $multidev_name echo "Checking out multidev..." git fetch --all