Skip to content

Merge pull request #277 from psteinroe/renovate/actions-checkout-4.x #145

Merge pull request #277 from psteinroe/renovate/actions-checkout-4.x

Merge pull request #277 from psteinroe/renovate/actions-checkout-4.x #145

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