Skip to content

Merge pull request #311 from psteinroe/renovate/major-nextjs-monorepo #185

Merge pull request #311 from psteinroe/renovate/major-nextjs-monorepo

Merge pull request #311 from psteinroe/renovate/major-nextjs-monorepo #185

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