Files
CompanySite/scripts/ping-sitemap.sh
T
Clintchiz d402256547
Deploy to Production / Build & Verify (push) Failing after 5m56s
Ping Search Engines / Notify Search Engines (push) Successful in 2s
Deploy to Production / Pre-Deploy Tests (push) Has been skipped
Deploy to Production / Deploy to Railway (push) Has been skipped
Deploy to Production / Deploy to Render (push) Has been skipped
Deploy to Production / Deploy to VPS (PM2) (push) Has been skipped
Deploy to Production / Deploy to Fly.io (push) Has been skipped
Deploy to Production / Post-Deploy Verification (push) Has been skipped
Deploy to Production / Notify on Failure (push) Successful in 2s
E2E Test Suite / Critical User Journeys (push) Has been skipped
E2E Test Suite / API Integration Tests (push) Has been skipped
E2E Test Suite / Smoke Tests (P0) (push) Failing after 11m26s
E2E Test Suite / Form Interaction Tests (push) Failing after 11m42s
E2E Test Suite / Destructive & Chaos Tests (push) Failing after 12m2s
E2E Test Suite / Cross-Browser Regression (chromium) (push) Failing after 16m14s
E2E Test Suite / Cross-Browser Regression (webkit) (push) Failing after 17m45s
E2E Test Suite / Cross-Browser Regression (firefox) (push) Failing after 25m23s
E2E Test Suite / Security Header Tests (push) Failing after 7m55s
E2E Test Suite / Test Report Summary (push) Failing after 20s
E2E Test Suite / Mobile Device Tests (push) Failing after 2h49m9s
Uptime Monitor / Health & Response Time (push) Failing after 2s
Uptime Monitor / SSL Certificate (push) Successful in 2s
Uptime Monitor / Send Alerts (push) Failing after 3s
Uptime Monitor / Record Uptime Success (push) Has been skipped
First Init
2026-03-21 16:46:46 +05:30

41 lines
1.1 KiB
Bash

#!/bin/bash
# Sitemap Ping Script
# Notifies search engines of sitemap updates after deployment
# Usage: ./scripts/ping-sitemap.sh
set -e
SITE_URL="https://workroot.in"
SITEMAP_URL="${SITE_URL}/sitemap.xml"
echo "🔔 Pinging search engines about sitemap update..."
echo "Sitemap: $SITEMAP_URL"
echo ""
# Google
echo "📍 Pinging Google..."
GOOGLE_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "https://www.google.com/ping?sitemap=${SITEMAP_URL}")
if [ "$GOOGLE_RESPONSE" = "200" ]; then
echo "✅ Google pinged successfully"
else
echo "⚠️ Google ping returned HTTP $GOOGLE_RESPONSE"
fi
# Bing
echo "📍 Pinging Bing..."
BING_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "https://www.bing.com/ping?sitemap=${SITEMAP_URL}")
if [ "$BING_RESPONSE" = "200" ]; then
echo "✅ Bing pinged successfully"
else
echo "⚠️ Bing ping returned HTTP $BING_RESPONSE"
fi
echo ""
echo "✨ Sitemap ping complete!"
echo ""
echo "Next steps:"
echo "1. Check Google Search Console for indexing status"
echo "2. Check Bing Webmaster Tools for crawl stats"
echo "3. Monitor coverage reports in 24-48 hours"