Skip to content

fix: remove ISR from login #109

fix: remove ISR from login

fix: remove ISR from login #109

Workflow file for this run

name: Database
on:
push:
branches:
- main
- staging
jobs:
migrate:
name: Run ${{ github.ref_name == 'main' && 'Production' || 'Staging' }} migrations
permissions:
contents: read
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run migrations
run: pnpm db:migrate
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}