Skip to content

Daily Cron

Daily Cron #653

name: Daily Cron
on:
schedule:
- cron: '0 1 * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Call our API route
run: |
curl --request POST \
--url 'https://www.sharrr.com/api/v1/cron' \
--header 'Authorization: Bearer ${{ secrets.API_SECRET_KEY }}'