Skip to content
name: Deploy Production Supabase Migrations
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-22.04
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PRODUCTION_DB_PASSWORD }}
PRODUCTION_PROJECT_ID: bdidtbneqztkyuqztmay
steps:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
with:
version: latest
- run: |
supabase link --project-ref $PRODUCTION_PROJECT_ID
supabase db push