This repository has been archived by the owner on May 22, 2024. It is now read-only.
Cron Job #246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cron Job | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
scrape: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call scrape API | |
run: | | |
curl https://iwallpaper.onrender.com/scrape \ | |
-X POST \ | |
-H 'Content-Type: application/json' \ | |
-d '{"quantity": 30}' |