Skip to content

Readme, readme, readme 👇 (#9) #11

Readme, readme, readme 👇 (#9)

Readme, readme, readme 👇 (#9) #11

Workflow file for this run

name: Deploy Migrations to Production
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.PRODUCTION_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ secrets.PRODUCTION_PROJECT_ID }}
steps:
- uses: actions/checkout@v3
- uses: supabase/setup-cli@v1
with:
version: 1.99.5
- run: supabase link --project-ref ${{ secrets.PRODUCTION_PROJECT_ID }}
- run: supabase db push