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
This commit is contained in:
parent
0be2700c01
commit
5cf777d0bf
1 changed files with 5 additions and 5 deletions
10
.github/workflows/ping.yml
vendored
10
.github/workflows/ping.yml
vendored
|
|
@ -10,28 +10,28 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Ping 1
|
||||
run: curl -fsS --retry 3 https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
|
||||
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://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
|
||||
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://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
|
||||
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://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
|
||||
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://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
|
||||
run: curl -fsS --retry 3 https://hello-world-3o95ks7si-our-claude-s-projects.vercel.app/api/ping
|
||||
|
|
|
|||
Loading…
Reference in a new issue