Skip to content

Add Migration CI

Add Migration CI #6

Workflow file for this run

name: Migration
on:
push:
branches: ["main"]
pull_request:
branches: ["*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
migrate:
runs-on: ubuntu-latest
env:
POSTGRES_URL: ${{ secrets.POSTGRES_URL }}
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Migrate
run: pnpm db:migrate