name: Sync standings and simulate
on:
schedule:
- cron: '0 */2 * * *'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Sync standings and run simulations where changed
run: |
curl -f -X POST https://brackt.com/admin/jobs/sync-and-simulate \
-H "X-Cron-Secret: ${{ secrets.CRON_SECRET }}" \
-H "Content-Type: application/json"