Skip to content

.github/workflows/cron.yml #1088

.github/workflows/cron.yml

.github/workflows/cron.yml #1088

Workflow file for this run

name: Ping Pennypal Backend
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Curl health
run: |
URL="https://pennypal-ya7b.onrender.com/api/health"
echo "GET $URL"
curl -fsS --retry 2 --retry-delay 2 --retry-connrefused --max-time 20 "$URL" >/dev/null