Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/nayalsaurav/deploy-your-app/llms.txt

Use this file to discover all available pages before exploring further.

This guide walks you through importing a GitHub repository and getting your first application live on Deploy Your App. The platform handles framework detection, Docker image builds, and subdomain routing automatically — you just point it at a repo and click deploy.
Prerequisites: You need a running Deploy Your App instance before following this guide. If you haven’t set one up yet, see the Self-Hosting guide. You’ll also need a GitHub account with at least one repository you want to deploy.

Deploy Your First App

1

Sign In with GitHub

Open the Deploy Your App web dashboard in your browser and click Sign in with GitHub. You will be redirected to GitHub to authorize the OAuth application.The platform requests the following GitHub scopes to manage your repositories and webhooks:
read:user   user:email   repo   write:repo_hook
After authorizing, you will be redirected to your dashboard where your GitHub repositories are listed.
2

Import a Repository

On the dashboard, browse the list of your GitHub repositories. Click Import next to the repository you want to deploy.The platform reads your repository metadata — including the default branch — and opens the project configuration screen.
3

Configure Build Settings

Review and optionally customize your project settings. All fields are auto-detected from your repository, so this step is optional for most projects.
FieldDescriptionExample
NameUnique project name used in your subdomainmy-portfolio
BranchBranch to deploy frommain
Root DirectoryMonorepo sub-path to your appapps/web
Build CommandOverride the detected build commandbun run build
Start CommandOverride the container start commandbun run start
Environment VariablesKey/value pairs encrypted at restAPI_URL=https://...
Add your environment variables before clicking Deploy. Variables are encrypted with your MASTER_ENCRYPTION_KEY and injected into the build and runtime environment. Re-deploying after adding variables is straightforward, but doing it upfront saves a round-trip.
4

Click Deploy

Click the Deploy button. The platform immediately queues a deployment job that executes the following steps in order:
  1. Clone — The builder service clones your repository at the specified branch using your GitHub OAuth token.
  2. Detect — The framework is identified from your project files (next.config.*, vite.config.*, package.json, etc.).
  3. Build — A Docker image is built using the appropriate Dockerfile for your stack (Next.js, Vite, Node.js, or Bun).
  4. Deploy — Static apps (Vite, Next.js static export) have their output uploaded to Cloudflare R2. Dynamic apps (Next.js SSR, Node.js) are started as isolated Docker containers.
  5. Route — The proxy service is updated to route your new subdomain to the running container or R2 bucket.
You can watch every step in real time on the deployment log panel.
5

Your App Is Live

Once the deployment completes, your application is accessible at an auto-generated subdomain based on your project name:
https://<project-name>-<short-id>.yourdomain.com
For example, a project named my-portfolio might be available at:
https://my-portfolio-a1b2c3.yourdomain.com
The subdomain is created automatically by the dynamic reverse proxy and is ready immediately after deployment — no DNS changes required on your end.

What’s Next?

Import a Project

Learn the full project import flow, including advanced repository settings and GitHub App configuration.

Environment Variables

Manage encrypted secrets, add variables to running projects, and understand how they are injected at build and runtime.

Custom Domains

Map your own domain name to a deployed project and configure automatic TLS certificates via Caddy.

Build System

Understand how the platform detects frameworks and selects the right Dockerfile for each deployment.

Build docs developers (and LLMs) love