plexi / .github /workflows /keep-hf-space-awake.yml
LazyHuman10
Replace Azure workflow with Hugging Face keep-alive
9e39bcc
raw
history blame contribute delete
418 Bytes
name: Keep Hugging Face Space Awake
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
ping-space:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Ping Plexi Space health endpoint
env:
SPACE_HEALTH_URL: https://lazyhuman-plexi.hf.space/_stcore/health
run: |
curl -fsS --retry 3 --retry-all-errors --max-time 30 "$SPACE_HEALTH_URL"