From 3b6f21843a542ee44d3b134814e2147c48beb12d Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 22 Sep 2023 10:02:42 -0600 Subject: [PATCH] sync the latest changes to the test multidev --- .github/workflows/sage-test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/sage-test.yml b/.github/workflows/sage-test.yml index 072fe708..2cf05a01 100644 --- a/.github/workflows/sage-test.yml +++ b/.github/workflows/sage-test.yml @@ -82,6 +82,17 @@ jobs: git checkout $multidev_name echo "Installing Composer dependencies..." composer install --no-progress --no-suggest --prefer-dist + - name: Copy latest repository changes + run: | + # Sync the files from checked-out repo to pantheon-local-copies, excluding the .git folder + rsync -av --exclude='.git/' ${{ github.workspace }}/ ~/pantheon-local-copies/wpcm-sage-install-tests/ + # Navigate to Pantheon local copies directory + cd ~/pantheon-local-copies/wpcm-sage-install-tests/ + + # Add, commit and push + git add . + git commit -m "Sync latest changes to test environment" + git push origin $multidev_name - name: Run Sage Install Script run: | SAGENAME=sage-test