Skip to content

chore: test github migration action #11

chore: test github migration action

chore: test github migration action #11

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
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: latest
- name: Link Supabase Project
run: supabase link --project-ref $SUPABASE_PROJECT_ID
working-directory: ./apps/supabase
- name: Push Database Changes
run: supabase db push
working-directory: ./apps/supabase