Skip to content

try something new

try something new #34

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: 1.27.7
- run: |
supabase link --project-ref $PRODUCTION_PROJECT_ID
supabase db push