Skip to content

chore: update dependencies #29

chore: update dependencies

chore: update dependencies #29

name: Migrate database
on:
push:
branches:
- main
- beta
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Apply all pending migrations to the database
run: pnpm run migrate
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DIRECT_URL: ${{ secrets.DIRECT_URL }}