Created
January 10, 2022 00:53
-
-
Save rafael-neri/584f75c284df337db6d0cbdce7177972 to your computer and use it in GitHub Desktop.
Schedule 15 minutes from GitHub - Cron
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: 15-minute-schedule | |
on: | |
schedule: | |
- cron: '*/15 * * * *' | |
jobs: | |
cron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call your API route | |
run: | | |
curl --request POST \ | |
--url 'https://yoursite.com/api/route' \ | |
--header 'Authorization: Bearer ${{ secrets.API_SECRET_KEY }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment