NutsNews GitHub Actions Update
Section titled “NutsNews GitHub Actions Update”This bundle adds the missing GitHub Actions and support scripts for NutsNews.
Copy into your project
Section titled “Copy into your project”cd /Users/ramideltoro/WebstormProjects/nutsnews3
rm -rf /tmp/nutsnews-github-actions-updateunzip -o ~/Downloads/nutsnews-github-actions-update.zip -d /tmp/nutsnews-github-actions-updatersync -av /tmp/nutsnews-github-actions-update/ ./Test the scripts locally
Section titled “Test the scripts locally”cd /Users/ramideltoro/WebstormProjects/nutsnews3
node scripts/check_links.mjsnode scripts/app_store_docs_check.mjsOptional public checks:
NUTSNEWS_BASE_URL=https://www.nutsnews.com node scripts/check_sitemap_robots.mjsNUTSNEWS_BASE_URL=https://www.nutsnews.com node scripts/worker_smoke_test.mjsOptional Supabase-backed reports, only if your env variables are available locally:
SUPABASE_URL="$NEXT_PUBLIC_SUPABASE_URL" \SUPABASE_SERVICE_ROLE_KEY="your_service_role_key" \node scripts/db_size_warning.mjs
SUPABASE_URL="$NEXT_PUBLIC_SUPABASE_URL" \SUPABASE_SERVICE_ROLE_KEY="your_service_role_key" \node scripts/feed_health_report.mjs
SUPABASE_URL="$NEXT_PUBLIC_SUPABASE_URL" \SUPABASE_SERVICE_ROLE_KEY="your_service_role_key" \node scripts/image_coverage_report.mjsCommit
Section titled “Commit”cd /Users/ramideltoro/WebstormProjects/nutsnews3
git statusgit add .github/workflows scripts docs/GITHUB_ACTIONS_AUTOMATION.md NUTSNEWS_GITHUB_ACTIONS_UPDATE_README.mdgit commit -m "Add missing GitHub Actions automation"git pushGitHub settings to check
Section titled “GitHub settings to check”In GitHub:
Repo → Settings → Actions → General → Workflow permissions → Read and write permissionsAdd repository secrets under:
Repo → Settings → Secrets and variables → ActionsRecommended secrets:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_ANON_KEYSUPABASE_URLSUPABASE_SERVICE_ROLE_KEYAUTH_SECRETNEXT_PUBLIC_TURNSTILE_SITE_KEYTURNSTILE_SECRET_KEYNUTSNEWS_WORKER_URLNUTSNEWS_SHARD_URLPAGESPEED_INSIGHTS_API_KEYSNYK_TOKEN