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"