chore: remove duplicate revalidate-all script

This commit is contained in:
achmad
2026-05-29 02:50:49 +07:00
parent 488ad051fb
commit c4727d87aa
-10
View File
@@ -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 .