- Create .github/workflows/health-check.yml to run daily at 2am UTC - Add scripts/backfill-health-checks.ts to populate health data for existing tools - Remove health-check from vercel.json crons (now using GitHub Actions) The GitHub Action workflow follows the same pattern as other sync operations and calls the /api/sync/health-check endpoint with proper authentication. The backfill script: - Fetches all tools from database - Runs batch health checks with concurrency control (5 tools at a time) - Shows detailed progress and summary statistics - Lists broken tools with error details 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
452 B
JSON
26 lines
452 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"git": {
|
|
"deploymentEnabled": {
|
|
"main": true
|
|
}
|
|
},
|
|
"github": {
|
|
"silent": false,
|
|
"autoJobCancelation": true
|
|
},
|
|
"crons": [
|
|
{
|
|
"path": "/api/sync/changes",
|
|
"schedule": "*/2 * * * *"
|
|
},
|
|
{
|
|
"path": "/api/sync/keyword",
|
|
"schedule": "*/15 * * * *"
|
|
},
|
|
{
|
|
"path": "/api/sync/metrics",
|
|
"schedule": "0 * * * *"
|
|
}
|
|
]
|
|
}
|