Skip to content

Merge pull request #355 from psteinroe/renovate/actions-upload-artifa… #207

Merge pull request #355 from psteinroe/renovate/actions-upload-artifa…

Merge pull request #355 from psteinroe/renovate/actions-upload-artifa… #207

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