Spaces:
Running on Zero
Running on Zero
Download .github/workflows/keep_alive.yml from Thaimozhi/File-Store-Bot: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/spaces/Thaimozhi/File-Store-Bot/resolve/main/.github/workflows/keep_alive.yml
- Command line
-
hf download hf://spaces/Thaimozhi/File-Store-Bot/.github/workflows/keep_alive.yml
-
curl -L -o keep_alive.yml https://huggingface.co/spaces/Thaimozhi/File-Store-Bot/resolve/main/.github/workflows/keep_alive.yml
521 Bytes
| name: Keep Render Alive 🚀 | |
| on: | |
| schedule: | |
| - cron: '*/5 * * * *' # Every 5 minutes | |
| workflow_dispatch: # Manual trigger option | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Render Bot | |
| run: | | |
| STATUS=$(curl -s -o /dev/null -w "%{http_code}" ${{ secrets.RENDER_URL }}) | |
| echo "Ping status: $STATUS" | |
| if [ "$STATUS" != "200" ]; then | |
| echo "Warning: Bot returned status $STATUS" | |
| else | |
| echo "✅ Bot is alive!" | |
| fi | |