From 22c30220ea06334ecd86adb409141908668b5602 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Wed, 31 Jul 2024 17:03:22 -0600 Subject: [PATCH] copy the application.php for subdom this is getting reset, too, for some reason --- .github/workflows/playwright.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b739cd30..7c74a688 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -417,15 +417,21 @@ jobs: echo "Copying latest changes and committing to the site." rsync -a --exclude='.git' --exclude='status-*.txt' --exclude="node_modules" "${{ github.workspace }}/" . + git add -A + git commit -m "Update to latest commit: ${{ env.COMMIT_MSG }}" || true echo "Installing wp-graphql..." composer require wp-graphql/wp-graphql + git add composer.json composer.lock + git commit -m "Add WP-GraphQL plugin" || true - git add -A - git commit -m "Update to latest commit: ${{ env.COMMIT_MSG }}" || true - git push origin master || true + echo "Copying the subdomain multisite config/application.php file..." + cp -f "${{ github.workspace }}/.github/fixtures/config/application.subdom.php" config/application.php + git add config/application.php + git commit -m "Add subdomain multisite config" || true - # Wait for the git push to finish. + # Push and wait for the git push to finish. + git push origin master || true terminus workflow:wait "${{ env.SITE_ID }}".dev echo "Checking WordPress install status"