Trigger prisma daily reset on a CRON Schedule #549
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: Trigger prisma daily reset on a CRON Schedule | |
on: | |
schedule: | |
# Runs "every day at 6 am utc (2am est)" (see https://crontab.guru) | |
- cron: '0 6 * * *' | |
jobs: | |
cron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Hourly cron job | |
run: | | |
curl --request POST \ | |
--url 'https://esodailytracker.vercel.app/api/dailyreset' \ | |
--header 'Authorization:${{secrets.ACTION_KEY}}' |