mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## Problem It's actually _surprisingly_ hard to track URL changes over time b/c sitemaps aren't versioned. It's meant to be a flat source of truth for a specific point in time. This causes issues when trying to get the following information: - What URLs have changed? And which URLs have changed over a specific period of time? - Do those URLs require updates to other places? Or redirects? ## Solution Adds in the first commit of tracked sitemaps, as well as a GitHub action to automate this process monthly. So long as we can track what's changed between 2 points in time -- this way through a git diff -- we can pretty easily then set up automation to flag needed link updates or redirects across other properties (`/changelog`, `/blog`, `/docs`, `/kb`). Added benefit is we already have redirects versioned and tracked, so we can combine these sources of data together. ## Review instructions The git diff here is _much_ larger than the functional diff, b/c this PR contains the initial commit of the sitemaps. The functional diff is in `.github/workflows/refresh-sitemaps.yml` and `scripts/refresh-sitemaps.sh`, which is a GitHub action to run a small `pull and download sitemaps and PR them up` periodically.