GitHub Actions now calls /api/ping on Vercel, which forwards to hc-ping.com. This also monitors Vercel availability. https://claude.ai/code/session_01U8j5zqsX4kwqjnzq3EncSi
37 lines
972 B
YAML
37 lines
972 B
YAML
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
|