We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7499738 commit dbfa983Copy full SHA for dbfa983
1 file changed
scripts/post-deploy-smoke.sh
@@ -34,3 +34,19 @@ check 'https://app.socialproof.dev/' 200 'dashboard-home'
34
check 'https://widget.socialproof.dev/v1/socialproof.js' 200 'widget-asset'
35
check 'https://api.socialproof.dev/health' 200 'worker-health'
36
check_prefix 'https://api.socialproof.dev/api/admin/stats' 4 'admin-auth-gate'
37
+
38
39
+warn_if_contains() {
40
+ local url="$1" needle="$2" label="$3" message="$4"
41
+ local body
42
+ body=$(mktemp)
43
+ curl -sS -L "$url" > "$body"
44
+ if grep -Fq "$needle" "$body"; then
45
+ echo "WARN [$label] $message" >&2
46
+ else
47
+ echo "OK [$label] $message"
48
+ fi
49
+ rm -f "$body"
50
+}
51
52
+warn_if_contains 'https://socialproof.dev/' 'Sarah K.' 'marketing-mode' 'homepage still shows static fallback testimonial cards'
0 commit comments