Skip to content

Database Ping

Database Ping #69

Workflow file for this run

name: Database Ping
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Ping API
run: |
curl -X GET \
-H "Authorization: Bearer ${{ secrets.CRON_SECRET }}" \
-H "Content-Type: application/json" \
https://signalyze.vercel.app/api/ping
if [ $? -eq 0 ]; then
echo "✅ Ping successful"
else
echo "❌ Ping failed"
exit 1
fi