{"id":15173159,"url":"https://github.com/supabase/fly-preview","last_synced_at":"2025-10-01T10:31:32.908Z","repository":{"id":153682403,"uuid":"630298738","full_name":"supabase/fly-preview","owner":"supabase","description":null,"archived":true,"fork":false,"pushed_at":"2023-11-08T06:28:57.000Z","size":1645,"stargazers_count":3,"open_issues_count":9,"forks_count":11,"subscribers_count":20,"default_branch":"main","last_synced_at":"2024-10-29T12:34:02.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-04-20T04:54:34.000Z","updated_at":"2023-11-14T03:54:55.000Z","dependencies_parsed_at":"2024-04-12T08:11:01.668Z","dependency_job_id":"2e44977a-0976-4f08-a9a8-0a05a2374ad4","html_url":"https://github.com/supabase/fly-preview","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.1428571428571429,"last_synced_commit":"7932b087a41c47e6d99f271a689b4838d37c557e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Ffly-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/fly-preview/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234699960,"owners_count":18873468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T10:41:38.908Z","updated_at":"2025-10-01T10:31:27.534Z","avatar_url":"https://github.com/supabase.png","language":"TypeScript","funding_links":["https://github.com/sponsors/supabase"],"categories":[],"sub_categories":[],"readme":"# :gear: Supabase Preview Deploy Action\n\n![](https://github.com/sweatybridge/fly-preview/workflows/build-test/badge.svg)\n![](https://github.com/sweatybridge/fly-preview/workflows/CodeQL/badge.svg)\n\n## About\n\nThis action deploys a Supabase Preview branch on Fly infrastructure.\n\n\u003e :warning: **Experimental**: This action is a WIP and may be deprecated in the future. Use at your own risk.\n\n## Usage\n\nSetup this action and `supabase` CLI\n\n```yaml\nsteps:\n  - uses: supabase/setup-cli@v1\n    with:\n      version: latest\n  # We use sed to replace quotes, ie. key=\"value\", to avoid double escaping env var.\n  - run: supabase gen keys --project-ref \u003cref\u003e --experimental | sed -E 's|^(.*)=\"(.*)\"$|\\1=\\2|g' \u003e\u003e \"$GITHUB_ENV\"\n    env:\n      SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}\n  - uses: supabase/fly-preview@main\n```\n\nConnect locally to your preview branch\n\n```bash\nsupabase link --project-ref \u003cref\u003e\nsupabase start --preview\n```\n\n## Inputs\n\nThe actions supports the following environment variable as inputs:\n\n| Name                             | Type   | Description                         | Default    | Required |\n| -------------------------------- | ------ | ----------------------------------- | ---------- | -------- |\n| `FLY_API_TOKEN`                  | String | API token to your Fly account       |            | true     |\n| `NEXT_PUBLIC_SUPABASE_URL`       | String | Fly app hostname, ie. `*.fly.dev`   |            | true     |\n| `FLY_ORGANIZATION_SLUG`          | String | Fly organization slug to deploy to  | `personal` | false    |\n| `SUPABASE_DB_PASSWORD`           | String | Postgres role password              | `postgres` | false    |\n| `SUPABASE_AUTH_JWT_SECRET`       | String | JWT secret for GoTrue service       |            | false    |\n| `SUPABASE_AUTH_ANON_KEY`         | String | Signed JWT token for `anon` role    |            | false    |\n| `SUPABASE_AUTH_SERVICE_ROLE_KEY` | String | Signed JWT token for `service_role` |            | false    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Ffly-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Ffly-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Ffly-preview/lists"}