Hello-World/.github/workflows/ping.yml
Claude 5cf777d0bf
Route ping through Vercel endpoint instead of calling hc-ping.com directly
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
2026-06-11 13:34:31 +00:00

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