Keep Render Alive #4299
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 Alive | |
| on: | |
| schedule: | |
| - cron: "*/10 * * * *" # Every 10 minutes | |
| workflow_dispatch: # Manual trigger option | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Render Health Endpoint | |
| run: | | |
| echo "🔄 Pinging Render at $(date)" | |
| response=$(curl -s -o /dev/null -w "%{http_code}" https://api.daemondoc.online/health) | |
| if [ $response -eq 200 ]; then | |
| echo "✓ Server is alive (HTTP $response)" | |
| else | |
| echo "✗ Server returned HTTP $response" | |
| exit 1 | |
| fi |