Compare commits
No commits in common. "4b9d81fc6c6a3db51599202fea07ec73e58691f7" and "b32ef2082c463d3df9ef03b1247492aa6c9266f7" have entirely different histories.
4b9d81fc6c
...
b32ef2082c
3 changed files with 1 additions and 39 deletions
37
.github/workflows/ping.yml
vendored
37
.github/workflows/ping.yml
vendored
|
|
@ -1,37 +0,0 @@
|
||||||
name: Health Check Ping
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "*/10 * * * *"
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ping:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Ping 1
|
|
||||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
|
||||||
|
|
||||||
- name: Wait 2 min
|
|
||||||
run: sleep 120
|
|
||||||
|
|
||||||
- name: Ping 2
|
|
||||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
|
||||||
|
|
||||||
- name: Wait 2 min
|
|
||||||
run: sleep 120
|
|
||||||
|
|
||||||
- name: Ping 3
|
|
||||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
|
||||||
|
|
||||||
- name: Wait 2 min
|
|
||||||
run: sleep 120
|
|
||||||
|
|
||||||
- name: Ping 4
|
|
||||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
|
||||||
|
|
||||||
- name: Wait 2 min
|
|
||||||
run: sleep 120
|
|
||||||
|
|
||||||
- name: Ping 5
|
|
||||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
|
||||||
|
|
@ -2,7 +2,7 @@ import socket
|
||||||
import urllib.request
|
import urllib.request
|
||||||
from http.server import BaseHTTPRequestHandler
|
from http.server import BaseHTTPRequestHandler
|
||||||
|
|
||||||
PING_URL = "https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e"
|
PING_URL = "https://hc-ping.com/4f9a5abf-38d6-4f34-a698-9e97c3a62632"
|
||||||
|
|
||||||
|
|
||||||
def do_ping():
|
def do_ping():
|
||||||
|
|
|
||||||
|
|
@ -38,4 +38,3 @@
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue