Skip to content

Cron

Cron #17331

Workflow file for this run

name: Cron
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
deploy:
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Set up bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: |
make pre-build
bun install
- name: Populate the latest data
run: make generate
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Sync data to the blob store
run: bun sync up
env:
BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }}
- name: Trigger deployment
uses: joelwmale/webhook-action@master
with:
url: ${{ secrets.DEPLOY_HOOK_URL }}