Docs / Add an app and discovery

Add an app and discovery

When you add a repo, ReleaseKey reads what's in it and suggests release steps. You always review them before anything is saved.

Discovery is deterministic: it suggests steps from files in the repo, not from guesses. It only suggests. You confirm.

What discovery looks for

Found in the repo Suggested steps
.releasekey.json Exactly the steps it lists, pre-selected. See .releasekey.json.
mise.toml tasks mise run <task> for each task. Preferred, so the repo owns its release vocabulary.
supabase/migrations db push --dry-run, db push, migration list
supabase/functions/* functions deploy
trigger.config.ts npx trigger.dev@<your SDK version> deploy, with the CLI pinned to your SDK version to avoid mismatch failures
vercel.json or .vercel A note that Vercel deploys on merge, plus an optional vercel --prod
A Heroku git remote git push heroku main. For Rails, also heroku run rails db:migrate, skipped if your Procfile’s release: phase already migrates.
fly.toml, netlify.toml The matching deploy command
fastlane/Fastfile Your lanes
package.json scripts Scripts named like deploy, release, migrate, db or publish

Reviewing suggestions

Recommended steps are pre-selected. For each one you can change the label, command, kind (check, migration, deploy, build or other), watch paths and whether it asks to confirm. Drag to reorder, or add any shell command by hand.

Linked targets

Discovery also reads which services the folder deploys to: the Supabase project ref, Vercel project, Trigger.dev project, Heroku remotes, and the environment variable names mise loads. They appear in one compact row on the card. Hover it before you push a migration to make sure it’s going to the right project. Warnings like “Supabase not linked” stay visible.

No mise.toml yet?

If the folder has no mise.toml, the editor offers Generate mise.toml. It drafts one from your steps and linked services. Edit it, copy it, or Write to repo, then put secrets in mise.local.toml and run mise trust. See Set up mise.

Adding a provider

ReleaseKey is open source and meant to stay general. To teach discovery a new provider, extend src/main/discovery.ts and add a case to test/discovery.test.ts.

Something unclear or out of date? Email hello@releasekey.dev.