Skip to content

Merge pull request #748 from trycompai/lewis/comp-onboarding-testjam-… #120

Merge pull request #748 from trycompai/lewis/comp-onboarding-testjam-…

Merge pull request #748 from trycompai/lewis/comp-onboarding-testjam-… #120

name: Database Migrations Dev
on:
push:
branches:
- main
workflow_dispatch: # Allows manual triggering
env:
BUN_VERSION: "1.2.15"
jobs:
migrate:
name: Run Database Migrations
runs-on: ubuntu-latest-custom
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Apply database migrations
env:
DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }}
run: |
cd packages/db
bunx prisma migrate deploy