Skip to content

Commit

Permalink
create a multidev for the build in a separate step
Browse files Browse the repository at this point in the history
need to add a no-input parameter for the install script
  • Loading branch information
jazzsequence committed Sep 21, 2023
1 parent e2705bb commit b66d0c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sage-test.yml
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit b66d0c6

Please sign in to comment.