spryx-ai/Supabase Preview Action
Creates a Supabase preview branch and exposes credentials as reusable outputs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| supabase_access_token | Supabase Management API access token | yes | — |
| project_ref | Parent Supabase project reference ID | yes | — |
| git_branch_name | Git branch name used to identify the preview branch (defaults to current GitHub ref) | no | "" |
| branch_name | Supabase branch name (defaults to git_branch_name) | no | "" |
| timeout_seconds | Timeout in seconds waiting for branch migrations to complete (default: 300) | no | 300 |
| poll_interval_seconds | Polling interval in seconds while waiting for branch (default: 10) | no | 10 |
Outputs
| name | description |
|---|---|
| project_ref | Supabase project ref of the preview branch |
| supabase_url | Supabase API URL for the preview branch (https://<ref>.supabase.co) |
| anon_key | Supabase anonymous key for the preview branch |
| service_role_key | Supabase service role key for the preview branch |
| db_host | PostgreSQL host for the preview branch |
| db_port | PostgreSQL port for the preview branch |
| db_name | PostgreSQL database name for the preview branch |
| db_user | PostgreSQL user for the preview branch |
| db_password | PostgreSQL password for the preview branch (masked in logs) |
| db_pooler_host | Supavisor pooler host — supports IPv4, use this on GitHub Actions runners |
| db_pooler_port | Supavisor pooler port (6543 transaction mode) |
| db_connection_string | Full PostgreSQL connection string via the IPv4-compatible pooler |