Skip to content

drop Vercel CRON job, add dedicated data refresh workflow #803

drop Vercel CRON job, add dedicated data refresh workflow

drop Vercel CRON job, add dedicated data refresh workflow #803

name: '[CODE] Deploy preview website'
on:
pull_request:
types: [labeled, synchronize]
permissions:
contents: read
jobs:
build:
if: ${{ github.event.label.name == 'deploy' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Bun
uses: oven-sh/setup-bun@v2
- name: Deploy
shell: bash
run: bunx vercel --force --token "$VERCEL_TOKEN"
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: 'team_IsLEAhLb9cZj6y1Bud9XYmeK'
VERCEL_PROJECT_ID: 'QmecQ8hTu4DUHv6js5U8L9pJ9vp54mg1bmRLWaS5RZCyt4'