Add post-deploy Google Search Console and IndexNow sitemap
notifications to the Pages publishing workflow.
The submit script retries each enabled provider once and defaults to a
non-blocking retry/warn failure policy so deploys remain green unless
strict mode is explicitly enabled.
Gate activation behind the ENABLE_SITEMAP_SUBMIT feature flag and
require repo or org variables/secrets for activation:
GOOGLE_WORKLOAD_IDENTITY_PROVIDER, GOOGLE_SERVICE_ACCOUNT, optional
GOOGLE_SEARCH_CONSOLE_SITE_URL, and INDEXNOW_KEY.
Summary
This adds a production-only post-deploy sitemap notification step that submits the generated EIPs sitemap to Google Search Console and IndexNow without blocking Pages deployment if either provider fails.
scripts/submit-sitemap.pyto submit the production sitemap with standard-library Python.submit-sitemapworkflow job after GitHub Pages publishing.ENABLE_SITEMAP_SUBMITandgithub.repository == 'ethereum/EIPs'.Deployment Setup
This PR ships dormant until maintainers configure the required repository or organization variables/secrets.
Required for Google Search Console:
https://eips.ethereum.org/Search Console property.GOOGLE_WORKLOAD_IDENTITY_PROVIDER.GOOGLE_SERVICE_ACCOUNT.GOOGLE_SEARCH_CONSOLE_SITE_URLforsc-domain:Search Console properties.Required for IndexNow:
INDEXNOW_KEY./<INDEXNOW_KEY>.txtinto the Pages artifact before deploy.Required to enable the job:
ENABLE_SITEMAP_SUBMIT=1.Validation
python3 -m py_compile scripts/submit-sitemap.py0with provider skip warningsINDEXNOW_KEYexits0with a warninggit diff --checkCloses ethereum/EIPs#11298.