Skip to content

Merge pull request #4432 from jbx-protocol/dev #1195

Merge pull request #4432 from jbx-protocol/dev

Merge pull request #4432 from jbx-protocol/dev #1195

Workflow file for this run

name: Deploy Migrations to Production
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.PRODUCTION_DB_PASSWORD }}
PRODUCTION_PROJECT_ID: ${{ secrets.PRODUCTION_PROJECT_ID }}
steps:
- uses: actions/checkout@v3
- uses: supabase/setup-cli@v1
- run: |
supabase link --project-ref $PRODUCTION_PROJECT_ID
supabase db push