You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add NGROK_HOST_FILE mode: expose tunnel host without rewriting site URL
Callers that set NGROK_HOST_FILE get a narrower alternative to the
existing wp config set WP_HOME/WP_SITEURL behavior: only the bare
ngrok host is written to that file, and WordPress's own home/siteurl/
WP_BASE_URL are left untouched. Existing callers that don't set this
input are unaffected — the original wp config set path still runs
when NGROK_HOST_FILE is empty.
Also adds diagnostic steps (webhook-host visibility via wp eval, and
a post-run dump of [ngrok-diag] log lines) to make the tunnel/webhook
state visible directly in the job output rather than only in an
uploaded artifact.
echo "=== [ngrok-diag] lines from the tests-wordpress container's PHP/Apache log ==="
380
+
npx wp-env logs tests --no-watch 2>&1 | grep -i 'ngrok-diag' || echo "No [ngrok-diag] lines found — either NGROK_ENABLED was off, connectMerchant never ran, or nothing reached the incoming webhook route."
0 commit comments