JermaineAI commited on
Commit
c6fafbb
·
1 Parent(s): 6c7fa5b

Add keep-awake cron job

Browse files
Files changed (1) hide show
  1. .github/workflows/keep_awake.yml +15 -0
.github/workflows/keep_awake.yml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Keep Hugging Face Space Awake
2
+
3
+ on:
4
+ schedule:
5
+ # Runs every 5 minutes
6
+ - cron: '*/5 * * * *'
7
+ workflow_dispatch: # Allows you to run it manually to test
8
+
9
+ jobs:
10
+ ping:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Ping the API
14
+ run: |
15
+ curl -I https://jaykay73-resume-optimizer-api.hf.space/