feat: add GitHub Actions workflow for Supabase migration
Some checks failed
Build Docker Image / build (push) Failing after 41s
Migrate supabase / migrate (push) Failing after 15s

This commit is contained in:
2026-03-08 16:36:10 +01:00
parent a9b7b88bca
commit 0dd5de4319
2 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
name: Migrate supabase
on:
push:
branches:
- main
tags:
- '*'
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
jobs:
migrate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Run migrations
run: npm run db:migrate