← back to Rentv
add /consulting black-bg post-deploy verifier
5d632c197664a841a1c5731f96111711b5200b69 · 2026-08-06 11:17:49 -0700 · Steve Abrams
Files touched
A scripts/verify-consulting-bg.sh
Diff
commit 5d632c197664a841a1c5731f96111711b5200b69
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Aug 6 11:17:49 2026 -0700
add /consulting black-bg post-deploy verifier
---
scripts/verify-consulting-bg.sh | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/scripts/verify-consulting-bg.sh b/scripts/verify-consulting-bg.sh
new file mode 100755
index 00000000..1f1d696d
--- /dev/null
+++ b/scripts/verify-consulting-bg.sh
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+# Post-deploy verifier for the /consulting black-background fix.
+# Fetches the LIVE prod page (admin Basic auth) and confirms the forced-black
+# marker is present in the served CSS. Run AFTER `bash _shared/scripts/deploy.sh`.
+# PASS = marker present → fix is live
+# STALE = 200 but no marker → deploy hasn't landed (or was reverted)
+# AUTH = 401/403/redirect → auth/gate problem, not a CSS problem
+set -euo pipefail
+URL="${1:-https://rentv.agentabrams.com/consulting}"
+CRED="${RENTV_ADMIN_CRED:-admin:DW2024!}"
+MARKER='--bg:#000!important'
+
+body="$(curl -fsS -u "$CRED" -H 'Accept: text/html' -L "$URL" 2>/dev/null || true)"
+code="$(curl -s -o /dev/null -w '%{http_code}' -u "$CRED" -H 'Accept: text/html' -L "$URL" 2>/dev/null || echo 000)"
+
+echo "URL: $URL"
+echo "status: $code"
+if [ -z "$body" ] || [ "$code" != "200" ]; then
+ echo "RESULT: AUTH/UNREACHABLE — got HTTP $code (expected 200). Check the gate/creds, not the CSS."
+ exit 2
+fi
+if grep -qF -- "$MARKER" <<<"$body"; then
+ echo "RESULT: ✅ PASS — '$MARKER' is live. Black background + bright accents are deployed."
+ exit 0
+else
+ echo "RESULT: ⚠️ STALE — page served (200) but the marker is absent. Deploy hasn't landed (or was overwritten)."
+ exit 1
+fi
← ceb68708 consulting portal: pin bright accents unconditionally so tex
·
back to Rentv
·
auto-data-snapshot: 2026-08-06T11:23:39 (7 data files) — dat f35eeeac →