Skip to content

daily-cron

daily-cron #343

Workflow file for this run

name: daily-cron
on:
schedule:
- cron: '0 1 * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Call API route to update books_readers materialized view.
run: |
curl --request POST \
--url 'https://next-book-analytics.vercel.app/api/refresh-books-readers-list' \
--header 'Authorization: Bearer ${{ secrets.API_SECRET_KEY }}'