Deploy
Deploy turns a web project in a GitHub repository into a live, hosted URL without leaving MegaBrain. Connect the GitHub App once, pick a repository and branch, add any environment variables your app needs, and MegaBrain builds and serves it for you. Deployments are available for both personal accounts and organizations.
Straight from Git
Point at a connected GitHub repository and branch. MegaBrain builds and hosts it — no separate CI to wire up.
One integration
Install the MegaBrain GitHub App once. Every repository you grant it becomes available to deploy from.
Env & secrets
Attach environment variables per deployment. Secret values are encrypted at rest and injected at build and run time.
Before you start
Creating a deployment from a repository needs two things in place. If either is missing, the Create New Deployment dialog will tell you which one.
A connected GitHub App
Deploy reads your code through the MegaBrain GitHub App installation — not a plain OAuth login. Until it is installed, the Integration dropdown shows No integrations available. Install it from Integrations (or, for a team, from your organization's Integrations page).
Available credits
Your account (or organization) needs a positive credit balance to deploy. Bonus and promotional credits count — a prior paid purchase is not required. If your balance is empty, add credits from Credits.
Create a deployment
Open Deploy
Open Deploy from the sidebar (for a team, use your organization's Deploy page), then press New Deployment.
Choose an integration and repository
On the Repository tab, pick the GitHub App integration, then the repository and branch you want to deploy. If the integration list is empty, install the GitHub App first (see Before you start above) — the repositories you grant it access to are the ones that appear here.
Add environment variables (optional)
Switch to the Environment tab to add any variables your app needs at build and run time — for example NEXT_PUBLIC_API_URL or a database URL. Values are encrypted at rest and are not shown again after you save them.
Create and watch it build
Press Create Deployment. MegaBrain provisions a slug, builds your project, and publishes it at a live URL. The deployment's detail view shows build status and logs; open it any time from the deployments list.
Troubleshooting
“No integrations available”
The MegaBrain GitHub App is not installed on this account or organization, so there is nothing to deploy from. Open Integrations (linked as Manage Integrations inside the dialog) and install it, then grant it access to the repositories you want to deploy. If you installed it but it did not appear, use the link-installation recovery option on the Integrations page.
“You need available credits to create deployments”
Your balance is empty. Add credits from Credits. Bonus and promotional credits satisfy this check — you do not need to have made a paid purchase, only to hold a positive balance.
The branch field shows an error
The branch name must match a branch that exists in the selected repository. Pick the branch from the list rather than typing a name the GitHub App cannot see.