Generate new post #3057
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: Generate new post | |
on: | |
schedule: | |
- cron: "*/30 * * * *" | |
jobs: | |
send-requests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send wakeup request | |
run: | | |
curl -X GET https://blog-by-ai.onrender.com/ | |
sleep 30 | |
- name: Send request to generate new post | |
run: | | |
curl -X GET https://blog-by-ai.onrender.com/generate |