IDKHowToCodeFr commited on
Commit
f63a171
·
1 Parent(s): c1c5ecb

ci: configure keepalive cron with active hf space url

Browse files
Files changed (1) hide show
  1. .github/workflows/keepalive.yml +15 -0
.github/workflows/keepalive.yml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Keep HF Space Alive
2
+
3
+ on:
4
+ schedule:
5
+ # Runs every 24 hours (well within the 48h limit)
6
+ - cron: '0 0 * * *'
7
+ workflow_dispatch: # Allows you to trigger it manually if needed
8
+
9
+ jobs:
10
+ ping-space:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Ping Healthz Endpoint
14
+ run: |
15
+ curl -f https://idkhowtocodefr-vera-engine.hf.space/v1/healthz