From b66d0c67ece9869118ac9b1944cd2253c685321f Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Thu, 21 Sep 2023 15:53:27 -0600 Subject: [PATCH] create a multidev for the build in a separate step need to add a no-input parameter for the install script --- .github/workflows/sage-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sage-test.yml b/.github/workflows/sage-test.yml index 3e8ec216..46a4fb04 100644 --- a/.github/workflows/sage-test.yml +++ b/.github/workflows/sage-test.yml @@ -29,9 +29,13 @@ jobs: sudo mv terminus /usr/local/bin/ - name: Install Composer Dependencies run: composer install --no-progress --no-suggest --prefer-dist - - name: Run Sage Install Script + - name: Log into Terminus & Create Multidev run: | terminus auth:login --machine-token=${{ secrets.TERMINUS_TOKEN }} + terminus upstream:updates:apply wpcm-sage-install-tests.dev --accept-upstream + terminus site:create-env --site=wpcm-sage-install-tests --to-env=${{ matrix.os }}-${{ github.event.pull_request.number }} --from-env=dev + - name: Run Sage Install Script + run: | composer install-sage || exit_code=$? if [[ -n "${exit_code}" ]]; then echo "❌ Sage Install Script Failed with exit code ${exit_code}"