Connect GitHub

Render connects with GitHub to deploy your apps and websites automatically on every push to your project. You can connect all your public and private projects on to Render and use our GitHub integration to create web services, static sites, APIs, background workers and more.

You can also use Render to automatically create Pull Request Preview URLs for your web apps and static sites.

Connecting GitHub

When you create your first service on Render you will have the option to connect GitHub on a screen that looks like this:

Git Connect

Clicking on Connect GitHub will redirect you to where you can authorize Render to access your repositories. You will then be redirected back to Render where you will see a list of your GitHub repos. You can then proceed by clicking on the repo you’d like to use for your service.

Pull Request Previews

Render can automatically build and deploy GitHub pull requests if pull request previews are enabled for your service. Once enabled, you will see a comment from Render when your pull request is created. It should look similar to this:

GitHub Pull Request Comment

Render creates a unique URL for every pull request and builds and deploys the latest changes as they’re pushed to the PR. PR servers are automatically deleted when the corresponding PR is merged or closed.

Git Submodules

Render will read a .gitmodules file at the root of your repo and automatically clone all Git submodules defined in it.

Private submodules are cloned if you’ve granted Render’s GitHub app permission to access the submodule’s repository.

Log in with GitHub

In addition to using GitHub projects to deploy apps, you can also use your account to sign up for Render and for subsequent logins. If you already have an account on Render that matches your primary GitHub email, you will be logged into the existing account automatically.