ailixir-api / .github /workflows /keep-hf-alive.yml
AILIXIR Bot
Auto-sync: 450d09e658979f6689a36c6ebe2a300eb5ac3ada
ddbec90
Raw
History Blame Contribute Delete
720 Bytes
name: Keep HF Alive
on:
schedule:
- cron: "0 */24 * * *"
workflow_dispatch:
jobs:
keep_hf_alive_job:
name: keep hf alive job
runs-on: ubuntu-latest
steps:
- name: Hit main API health endpoint
run: |
curl -s -o /dev/null -w "%{http_code}" \
"https://Ailixir-AI-Team-ailixir-api.hf.space/api/ai-services/health"
- name: Hit generation health endpoint
run: |
curl -s -o /dev/null -w "%{http_code}" \
"https://shdwrow-ailixir-generation.hf.space/health"
- name: Hit chat bot health endpoint
run: |
curl -s -o /dev/null -w "%{http_code}" \
"https://shdwrow-ailixir-chat-bot.hf.space/health"