Skip to content

Commit d350dfe

Browse files
committed
Revert "Set ngrok URL via WP DB options instead of wp-config constants"
This reverts commit 30461d4.
1 parent 80305f3 commit d350dfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ jobs:
293293
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
294294
if: ${{ inputs.NGROK_ENABLED && env.NGROK_AUTH_TOKEN != '' }}
295295
run: |
296-
npx wp-env run tests-cli wp option update home "$NGROK_URL"
297-
npx wp-env run tests-cli wp option update siteurl "$NGROK_URL"
296+
npx wp-env run tests-cli wp config set WP_SITEURL "$NGROK_URL"
297+
npx wp-env run tests-cli wp config set WP_HOME "$NGROK_URL"
298298
sed -i "s|WP_BASE_URL=.*|WP_BASE_URL=$NGROK_URL|" .env.ci
299299
300300
- name: Execute custom code before executing the test script

0 commit comments

Comments
 (0)