From c4727d87aafe171c1b36ea6bb3335a71b619f3ea Mon Sep 17 00:00:00 2001 From: achmad Date: Fri, 29 May 2026 02:50:49 +0700 Subject: [PATCH] chore: remove duplicate revalidate-all script --- scripts/revalidate-all.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 scripts/revalidate-all.sh diff --git a/scripts/revalidate-all.sh b/scripts/revalidate-all.sh deleted file mode 100644 index 0971311..0000000 --- a/scripts/revalidate-all.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -URL="${1:-https://kotobane.achmad.dev}" -SECRET="${REVALIDATE_SECRET:-1964edNGrm1xqE2oznfeahdheP7oAfwAob4fIxe1Gzo}" - -echo "==> Revalidating all pages (homepage + categories + articles) on $URL ..." -curl -s -X POST "$URL/api/revalidate" \ - -H "Content-Type: application/json" \ - -d "{\"secret\":\"$SECRET\",\"type\":\"all\"}" | jq .