From 1cf4bbac7b36bf47969d2f6c5c69e96e5a369e37 Mon Sep 17 00:00:00 2001 From: joshua Date: Thu, 8 Jan 2026 18:30:27 +0000 Subject: [PATCH] Increase Netlify cleanup pagination to 10,000 deploys --- .github/workflows/cleanup-netlify-previews.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cleanup-netlify-previews.yml b/.github/workflows/cleanup-netlify-previews.yml index 0795e517d4d..6ae195cb4bd 100644 --- a/.github/workflows/cleanup-netlify-previews.yml +++ b/.github/workflows/cleanup-netlify-previews.yml @@ -33,7 +33,7 @@ jobs: # 1. Fetch deploys with safety pagination ALL_DEPLOYS="[]" - for PAGE in {1..20}; do + for PAGE in {1..100}; do RESPONSE=$(curl -s -H "Authorization: Bearer $NETLIFY_TOKEN" \ "https://api.netlify.com/api/v1/sites/$NETLIFY_SITE_ID/deploys?per_page=100&page=$PAGE")