Skip to content

30-minute-cron

30-minute-cron #36442

Workflow file for this run

name: 30-minute-cron
on:
schedule:
- cron: '*/30 * * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Blog revalidations
run: |
curl -v --request POST \
--url 'https://www.inverse.finance/api/revalidate?type=blog' \
--header 'Authorization: Bearer ${{ secrets.API_SECRET_KEY }}'
- name: Cg proxy revalidation
run: |
curl -v --request GET \
--url 'https://www.inverse.finance/api/prices-cg-proxy?isDefault=true'