Skip to content

Sponsor access to volunteer #216

Sponsor access to volunteer

Sponsor access to volunteer #216

name: Deploy migrations to prod Hibiscus Supabase project
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-22.04
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_BOT_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PROD_DB_PASSWORD }}
PRODUCTION_PROJECT_ID: ${{ secrets.SUPABASE_PROD_PROJECT_ID }}
steps:
- uses: actions/checkout@v3
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
- run: |
supabase link --project-ref $PRODUCTION_PROJECT_ID
supabase db push