Supabase Github Actions Failing
I deploy changes to supabase using GitHub Actions. It was working great yesterday. Today it won't link. I get this error:
failed to connect to
host=aws-0-us-east-1.pooler.supabase.com user=postgres.*** database=postgres: failed SASL auth (invalid SCRAM server-final-message received from server)
I tried resetting my DB password, but still having same issue. Any suggestions?2 Replies
FIXED: I have to update my github actions to include: SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }} (this was previously not necessary)
- name: Link to production project
run: |
supabase link --project-ref ${{ secrets.SUPABASE_PROJECT_REF }}
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
@ijohnston do you know if there is a way to connect to GH actions without using the password? like any of the new API keys?