Skip to content

Call API Every 5 Minutes #6412

Call API Every 5 Minutes

Call API Every 5 Minutes #6412

Workflow file for this run

name: Call API Every 5 Minutes
on:
push:
workflow_dispatch:
schedule:
- cron: "*/5 * * * *"
jobs:
call-api:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Call API
run: |
response=$(curl -s -X GET https://script-search-appartement-seloger.vercel.app/api/checkNewApartment )
echo "API Response: $response"