This directory contains GitHub Actions workflows to keep your Render backend alive automatically.
keep-alive.yml- Full-featured workflow with detailed loggingsimple-keep-alive.yml- Simple workflow (recommended)
git add .github/
git commit -m "Add GitHub Actions keep-alive workflows"
git push- Go to your GitHub repository
- Click on "Actions" tab
- You should see the workflows listed
- GitHub Actions will automatically start running
- Go to Actions tab to see workflow runs
- Each run will ping your backend every 10 minutes
- Green checkmark = success, Red X = failure
- Runs every 10 minutes
- Pings
https://saco-ai-assistant.onrender.com/ping - Minimal logging
- Easy to understand
- Runs every 10 minutes
- Detailed logging with timestamps
- Manual trigger option
- Better error handling
- Status reporting
You can manually trigger a workflow:
- Go to Actions tab
- Click on "Keep Backend Alive"
- Click "Run workflow" button
- Click "Run workflow" to start
- Workflow not running: Check if GitHub Actions is enabled for your repo
- Backend still sleeping: Try reducing the interval (change
*/10to*/5for 5 minutes) - Permission issues: Make sure the repository allows GitHub Actions
✅ Free - GitHub Actions has generous free tier ✅ 24/7 - Runs automatically without your computer ✅ Reliable - GitHub's infrastructure ✅ No setup - Just push the files and it works