Skip to content

Merge pull request #26 from radio4000/main #3

Merge pull request #26 from radio4000/main

Merge pull request #26 from radio4000/main #3

name: Supabase push migrations to production
on:
push:
branches:
- prod
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ env.SUPABASE_DB_PASSWORD }}

Check failure on line 11 in .github/workflows/supabase-deploy-dev.yml

View workflow run for this annotation

GitHub Actions / Supabase push migrations to production

Invalid workflow file

The workflow is not valid. .github/workflows/supabase-deploy-dev.yml (Line: 11, Col: 24): Unrecognized named-value: 'env'. Located at position 1 within expression: env.SUPABASE_DB_PASSWORD .github/workflows/supabase-deploy-dev.yml (Line: 15, Col: 5): Required property is missing: runs-on
jobs:
supabase-push:
steps:
- uses: supabase/setup-cli@v1
- run: supabase link --project-ref $PROJECT_ID
- run: supabase db push