Skip to content

get-yields-every-hour #14373

get-yields-every-hour

get-yields-every-hour #14373

Workflow file for this run

name: get-yields-every-hour
on:
push:
branches:
- master
paths:
- '.github/workflows/cron-yield.yaml'
schedule:
- cron: '0 21 * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: GET /api/cron/yield
run: |
curl --fail --verbose -X POST \
--url https://yield-borg.vercel.app/api/cron/yield \
--header "Authorization: Bearer ${{ secrets.CRON_KEY }}"