Skip to content

Commit

Permalink
move the wait to earlier
Browse files Browse the repository at this point in the history
we can't check the config if it hasn't finished being updated
  • Loading branch information
jazzsequence committed Jul 31, 2024
1 parent dffdcfb commit 2899f36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ jobs:
git commit -m "Update to latest commit: ${{ env.COMMIT_MSG }}" || true
git push origin master || true
# Wait for the git push to finish.
terminus workflow:wait "${{ env.SITE_ID }}".dev
echo "Checking WordPress install status"
terminus wp "${{ env.SITE_ID }}".dev -- cli info
if ! terminus wp "${{ env.SITE_ID }}".dev -- config is-true MULTISITE; then
Expand All @@ -443,8 +446,6 @@ jobs:
echo -e "Subdomain configuration not found!"
exit 1
fi
# Wait for the git push to finish.
terminus workflow:wait "${{ env.SITE_ID }}".dev
- name: Run Playwright tests
env:
SITE_NAME: ${{ env.SITE_NAME }}
Expand Down

0 comments on commit 2899f36

Please sign in to comment.