Skip to content

Merge pull request #40 from MaximeFARRE/feat/health-and-features #38

Merge pull request #40 from MaximeFARRE/feat/health-and-features

Merge pull request #40 from MaximeFARRE/feat/health-and-features #38

Workflow file for this run

name: Deploy
# Vercel handles the Next.js app through its GitHub integration.
# This workflow only manages Supabase migrations.
on:
push:
branches: [main]
jobs:
# ── Push Supabase migrations ─────────────────────────────────────────────────
deploy-migrations:
name: Push Supabase migrations
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- name: Install Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest
- name: Push migrations
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
run: |
supabase link --project-ref ${{ secrets.SUPABASE_PROJECT_REF }}
supabase db push