Skip to content

Merge pull request #540 from blwinters/update-example #311

Merge pull request #540 from blwinters/update-example

Merge pull request #540 from blwinters/update-example #311

name: Push Migrations
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
push-migrations:
name: Deploy
timeout-minutes: 30
runs-on: ubuntu-latest
env:
# dev environment secrets
SUPABASE_PROJECT_REF: ${{ secrets.SUPABASE_PROJECT_REF }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
steps:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
- run: supabase link --project-ref $SUPABASE_PROJECT_REF
- run: supabase db push