feat: add modular daily cron system with storage cleanup and orphan detection

This commit is contained in:
2026-05-09 12:50:16 +08:00
parent 393bc9a9c6
commit 6009366fb4
4 changed files with 179 additions and 15 deletions
+13 -15
View File
@@ -50,13 +50,20 @@ DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
# -----------------------------------------------------------------------------
# STORAGE (R2)
# STORAGE (CLOUDFLARE R2)
# -----------------------------------------------------------------------------
R2_ACCOUNT_ID="account_id_here"
R2_ACCESS_KEY_ID="access_key_id_here"
R2_SECRET_ACCESS_KEY="secret_access_key_here"
R2_BUCKET_NAME="deckyvault"
R2_PUBLIC_URL="https://cdn.deckyvault.xyz"
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=deckyvault
R2_PUBLIC_URL=
# -----------------------------------------------------------------------------
# CRON
# -----------------------------------------------------------------------------
# Secret token for daily cron endpoint (generate with: openssl rand -base64 32)
# Leave empty to disable cron endpoints
CRON_SECRET=
# -----------------------------------------------------------------------------
# PASSKEY (WebAuthn)
@@ -88,12 +95,3 @@ STEAMGRIDDB_API_KEY="your_steamgriddb_api_key_here"
# Discord webhook URL for contact/report submissions
DISCORD_WEBHOOK_URL=""
# -----------------------------------------------------------------------------
# SITEMAP
# -----------------------------------------------------------------------------
# Secret token for on-demand sitemap revalidation (generate with: openssl rand -base64 32)
# Leave empty to disable the revalidation endpoint
REVALIDATE_SECRET=""
# ISR revalidation interval in seconds for sitemap.xml (default: 3600 = 1 hour)
SITEMAP_REVALIDATE_SECONDS=""