Unkey Deploy is currently in private beta. To get access, reach out on
Discord or email
support@unkey.com.
Branch-to-environment mapping
Unkey maps branches to environments based on your default branch:| Branch | Environment |
|---|---|
Default branch (typically main) | Production |
| All other branches | Preview |
Custom branch-to-environment mapping is not yet available. The default branch always maps to production.
Commit-level deployments
Every push creates an immutable deployment with its own unique domain:- Branch domain: points to the latest deployment from that branch
- Environment domain: points to the latest deployment in that environment
- Live domain (production only): points to the current live deployment
Fork protection
Pull requests from forked repositories are not deployed automatically. A forked PR could modify your Dockerfile or application code to extract environment variable secrets during the build or at runtime. When a PR comes from a fork, Unkey requires an authorized team member to approve the deployment before it runs. This is similar to how Vercel handles fork deployments.Watch paths
By default, every push triggers a deployment. If your repository contains code that doesn’t affect your app (for example, documentation or unrelated services in a monorepo), configure watch paths to deploy only when relevant files change. Add glob patterns in your app’s Settings under Watch paths. Unkey skips the deployment if none of the changed files match any pattern.
Troubleshoot failed triggers
If a push doesn’t trigger a deployment:- Verify the Unkey GitHub App is installed on the repository’s organization or account.
- Check that the repository is connected in your project’s Settings tab.
- If watch paths are configured, confirm that the push includes changes matching at least one pattern.
- Check your project’s Deployments tab for a failed deployment with error details.
Next steps
Deployment lifecycle
How deployments progress from build to serving traffic
App settings
Configure build context, Dockerfile path, and watch paths


