Tracker Cron Job #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tracker Cron Job | |
| on: | |
| schedule: | |
| # Run every 30 minutes | |
| - cron: '*/30 * * * *' | |
| workflow_dispatch: # Allows manual trigger from GitHub UI | |
| jobs: | |
| ping_vercel: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Vercel Endpoint | |
| run: | | |
| # Replace YOUR_VERCEL_URL.vercel.app with the actual URL from Vercel | |
| curl -f -s https://${{ secrets.VERCEL_URL }}/trigger-poll || echo 'Failed to ping Vercel, but continuing' |