Keep Render Backend Awake #146
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: Keep Render Backend Awake | |
| on: | |
| schedule: | |
| # Runs every 10 minutes to prevent Render free tier from sleeping | |
| - cron: '*/10 * * * *' | |
| workflow_dispatch: # Allows manual triggering from the GitHub Actions tab | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Render Backend | |
| run: | | |
| curl -s https://graphlens-ai-aymk.onrender.com/ > /dev/null | |
| echo "Pinged Render backend successfully at $(date)" |